discord-w ~master (2022-03-12T05:59:06.0972821)
Dub
Repo
User
discord
w
types
https://discordapp.com/developers/docs/resources/user#user-object
struct
User {
mixin
OptionalSerializer
!(
typeof
(
this
))
;
Snowflake
id
;
string
username
;
string
discriminator
;
Nullable
!
string
avatar
;
@
optional
bool
bot
;
@
optional
bool
mfa_enabled
;
@
optional
bool
verified
;
@
optional
Nullable
!
string
email
;
URL
avatarURL
(string format);
}
Members
Functions
avatarURL
URL
avatarURL
(string format)
Undocumented in source. Be warned that the author may not have intended to support it.
Mixins
__anonymous
mixin
OptionalSerializer
!(
typeof
(
this
))
Undocumented in source.
Variables
avatar
Nullable
!
string
avatar
;
Undocumented in source.
bot
bool
bot
;
Undocumented in source.
discriminator
string
discriminator
;
Undocumented in source.
email
Nullable
!
string
email
;
Undocumented in source.
id
Snowflake
id
;
Undocumented in source.
mfa_enabled
bool
mfa_enabled
;
Undocumented in source.
username
string
username
;
Undocumented in source.
verified
bool
verified
;
Undocumented in source.
Meta
Source
See Implementation
discord
w
types
aliases
SafeTime
enums
ExplicitContentFilterLevel
MFALevel
MessageNotificationLevel
Permissions
VerificationLevel
manifest constants
DiscordCDN
structs
Activity
ApplicationInformation
Attachment
Ban
Channel
Embed
Emoji
Guild
GuildEmbed
GuildMember
Integration
Invite
Message
Overwrite
PartialUser
PresenceUpdate
Reaction
Role
Snowflake
UnavailableGuild
UpdateStatus
User
VoiceRegion
VoiceState
https://discordapp.com/developers/docs/resources/user#user-object