User

public struct User

User Type

  • Parent class

    Declaration

    Swift

    public internal(set) weak var sword: Sword?
  • Avatar hash

    Declaration

    Swift

    public let avatar: String?
  • Whether or not this user is a bot

    Declaration

    Swift

    public let isBot: Bool?
  • Discriminator of user

    Declaration

    Swift

    public let discriminator: String?
  • Email of user (will probably be empty forever)

    Declaration

    Swift

    public let email: String?
  • id

    ID of user

    Declaration

    Swift

    public let id: Snowflake
  • Whether of not user has mfa enabled (will probably be empty forever)

    Declaration

    Swift

    public let isMfaEnabled: Bool?
  • Username of user

    Declaration

    Swift

    public let username: String?
  • Whether user is verified or not

    Declaration

    Swift

    public let isVerified: Bool?