Nostrum.Util.nostrum_struct
You're seeing just the macro
nostrum_struct
, go back to Nostrum.Util module for more information.
Helper for defining all the methods used for struct and encoding transformations.
Example
Nostrum.Util.nostrum_struct(%{
author: User,
mentions: [User],
mention_roles: [User],
embeds: [Embed]
})