Nostrum.Struct.Embed.put_author

You're seeing just the function put_author, go back to Nostrum.Struct.Embed module for more information.
Link to this function

put_author(embed, name, url, icon_url)

View Source

Specs

Puts a Nostrum.Struct.Embed.Author under :author in embed.

Examples

iex> embed = %Nostrum.Struct.Embed{}
...> Nostrum.Struct.Embed.put_author(embed, "skippi", "https://github.com/skippi", nil)
%Nostrum.Struct.Embed{
  author: %Nostrum.Struct.Embed.Author{
    name: "skippi",
    url: "https://github.com/skippi",
    icon_url: nil
  }
}