Nostrum.Struct.Embed.put_color

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

Specs

put_color(t(), color()) :: t()

Puts the given value under :color in embed.

Examples

iex> embed = %Nostrum.Struct.Embed{}
...> Nostrum.Struct.Embed.put_color(embed, 431948)
%Nostrum.Struct.Embed{color: 431948}