DiscordUser
public struct DiscordUser
Represents a Discord user.
-
The base64 encoded avatar of this user.
Declaration
Swift
public let avatar: String
-
Whether this user is a bot.
Declaration
Swift
public let bot: Bool
-
This user’s discriminator.
Declaration
Swift
public let discriminator: String
-
The user’s email. Only availabe if we are the user.
Declaration
Swift
public let email: String
-
The snowflake id of the user.
Declaration
Swift
public let id: UserID
-
Whether this user has multi-factor authentication enabled.
Declaration
Swift
public let mfaEnabled: Bool
-
This user’s username.
Declaration
Swift
public let username: String
-
Whether this user is verified.
Declaration
Swift
public let verified: Bool