DiscordOptionallyMemberUser
constructor(id: Snowflake, username: String, discriminator: Optional<String> = Optional.Missing(), globalName: Optional<String?> = Optional.Missing(), avatar: String?, bot: OptionalBoolean = OptionalBoolean.Missing, system: OptionalBoolean = OptionalBoolean.Missing, mfaEnabled: OptionalBoolean = OptionalBoolean.Missing, locale: Optional<String> = Optional.Missing(), verified: OptionalBoolean = OptionalBoolean.Missing, email: Optional<String?> = Optional.Missing(), flags: Optional<UserFlags> = Optional.Missing(), premiumType: Optional<UserPremium> = Optional.Missing(), publicFlags: Optional<UserFlags> = Optional.Missing(), member: Optional<DiscordGuildMember> = Optional.Missing())(source)
Parameters
id
The user's id.
username
the user's username, not unique across the platform.
discriminator
the 4-digit discord-tag.
avatar
the user's avatar hash.
bot
Whether the user belongs to an OAuth2 application.
system
whether the user is an Official Discord System user (part of the urgent message system).
mfaEnabled
Whether the user has two factor enabled on their account.
locale
The user's chosen language option.
verified
Whether the email on this account has been verified. Requires the email
OAuth2 scope.
email
The user's email. Requires the email
OAuth2 scope.
flags
The flags on a user's account. Unlike publicFlags, these are not visible to other users.
premiumType
The type of Nitro subscription on a user's account.
publicFlags
The public flags on a user's account. Unlike flags, these are visible ot other users.