case class User(id: UserId, username: String, discriminator: 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 Author[User] with UserOrRole with Product with Serializable
A Discord user.
- 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 email is verified. Requires the email OAuth scope.
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
- message.scala
- Alphabetic
- By Inheritance
- User
- Serializable
- Product
- Equals
- UserOrRole
- Author
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new User(id: UserId, username: String, discriminator: 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 email is verified. Requires the email OAuth scope.
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
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val accentColor: Option[Int]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val avatar: Option[String]
- val banner: Option[String]
- val bot: Option[Boolean]
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @IntrinsicCandidate()
- val discriminator: String
The discriminator of the author.
- val email: Option[String]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val flags: Option[UserFlags]
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
- val id: UserId
The id for this author.
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isUser: Boolean
If this author is not a webhook.
- val locale: Option[String]
- def mention: String
Mention this user.
- def mentionNick: String
Mention this user with their nickname.
- val mfaEnabled: Option[Boolean]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- val premiumType: Option[PremiumType]
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val publicFlags: Option[UserFlags]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val system: Option[Boolean]
- val username: String
The name of the author.
- val verified: Option[Boolean]
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])