Nostrum.Struct.Embed.put_title
You're seeing just the function
put_title
, go back to Nostrum.Struct.Embed module for more information.
Specs
Puts the given value
under :title
in embed
.
Examples
iex> embed = %Nostrum.Struct.Embed{}
...> Nostrum.Struct.Embed.put_title(embed, "nostrum")
%Nostrum.Struct.Embed{title: "nostrum"}