c

ackcord.data.raw

PartialUser

case class PartialUser(id: UserId, username: Option[String], discriminator: Option[String], avatar: Option[String], bot: Option[Boolean], system: Option[Boolean], mfaEnabled: Option[Boolean], banner: Option[String], accentColor: Option[Int], locale: Option[String], verified: Option[Boolean], email: Option[String], flags: Option[UserFlags], premiumType: Option[PremiumType], publicFlags: Option[UserFlags]) extends Product with Serializable

A user where fields can be missing.

id

The id of the user.

username

The name of the user.

discriminator

The discriminator for the user. Those four last digits when clicking in a users name.

avatar

The users avatar hash.

bot

If this user belongs to a OAuth2 application.

system

If the user is part of Discord's urgent messaging system.

mfaEnabled

If this user has two factor authentication enabled.

banner

The user's banner image hash.

accentColor

The user's banner color as an RGB int.

locale

The user's chosen language.

verified

If this user is verified. Requires the email OAuth scope.

email

The users email. Requires the email OAuth scope.

flags

The flags on a user's account.

premiumType

The type of nitro the account has.

publicFlags

The public flags on a user's account.

Source
rawData.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PartialUser
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PartialUser(id: UserId, username: Option[String], discriminator: Option[String], avatar: Option[String], bot: Option[Boolean], system: Option[Boolean], mfaEnabled: Option[Boolean], banner: Option[String], accentColor: Option[Int], locale: Option[String], verified: Option[Boolean], email: Option[String], flags: Option[UserFlags], premiumType: Option[PremiumType], publicFlags: Option[UserFlags])

    id

    The id of the user.

    username

    The name of the user.

    discriminator

    The discriminator for the user. Those four last digits when clicking in a users name.

    avatar

    The users avatar hash.

    bot

    If this user belongs to a OAuth2 application.

    system

    If the user is part of Discord's urgent messaging system.

    mfaEnabled

    If this user has two factor authentication enabled.

    banner

    The user's banner image hash.

    accentColor

    The user's banner color as an RGB int.

    locale

    The user's chosen language.

    verified

    If this user is verified. Requires the email OAuth scope.

    email

    The users email. Requires the email OAuth scope.

    flags

    The flags on a user's account.

    premiumType

    The type of nitro the account has.

    publicFlags

    The public flags on a user's account.

Value Members

  1. val accentColor: Option[Int]
  2. val avatar: Option[String]
  3. val banner: Option[String]
  4. val bot: Option[Boolean]
  5. val discriminator: Option[String]
  6. val email: Option[String]
  7. val flags: Option[UserFlags]
  8. val id: UserId
  9. val locale: Option[String]
  10. val mfaEnabled: Option[Boolean]
  11. val premiumType: Option[PremiumType]
  12. def productElementNames: Iterator[String]
    Definition Classes
    Product
  13. val publicFlags: Option[UserFlags]
  14. val system: Option[Boolean]
  15. val username: Option[String]
  16. val verified: Option[Boolean]