Elixir v0.2.0 Nostrum.Struct.User
Struct representing a Discord user.
User vs. Member
A user contains only general information about that user such as a username and an avatar.
A member has everything that a user has, but also additional information on a per guild basis. This includes things like a nickname and a list of roles.
Summary
Types
User’s avatar hash
Whether the user is a bot
The user’s 4—digit discord-tag
The user’s email
The user’s id
Whether the user has two factor enabled
The user’s username
Whether the email on the account has been verified
Types
User’s avatar hash
The user’s 4—digit discord-tag
The user’s email
t()
t() :: %Nostrum.Struct.User{avatar: avatar, bot: bot, discriminator: discriminator, email: email, id: id, mfa_enabled: mfa_enabled, username: username, verified: verified}
The user’s username