Nostrum.Struct.Embed.put_description

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

put_description(embed, value)

View Source

Specs

put_description(t(), description()) :: t()

Puts the given value under :description in embed.

Examples

iex> embed = %Nostrum.Struct.Embed{}
...> Nostrum.Struct.Embed.put_description(embed, "An elixir library for the discord API.")
%Nostrum.Struct.Embed{description: "An elixir library for the discord API."}