Nostrum.Struct.Embed.put_title

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

Specs

put_title(t(), title()) :: t()

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"}