Nostrum.Struct.User.mention

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

Specs

mention(t()) :: String.t()

Formats an Nostrum.Struct.User into a mention.

Examples

iex> user = %Nostrum.Struct.User{id: 177888205536886784}
...> Nostrum.Struct.User.mention(user)
"<@177888205536886784>"