Class

net.katsstuff.ackcord.data

User

Related Doc: package data

Permalink

case class User(id: UserId, username: String, discriminator: String, avatar: Option[String], bot: Option[Boolean], mfaEnabled: Option[Boolean], verified: Option[Boolean], email: Option[String]) extends Author[User] 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.

mfaEnabled

If this user has two factor authentication enabled.

verified

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

email

The users email. Requires the email OAuth scope.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. User
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Author
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new User(id: UserId, username: String, discriminator: String, avatar: Option[String], bot: Option[Boolean], mfaEnabled: Option[Boolean], verified: Option[Boolean], email: Option[String])

    Permalink

    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.

    mfaEnabled

    If this user has two factor authentication enabled.

    verified

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

    email

    The users email. Requires the email OAuth scope.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. val avatar: Option[String]

    Permalink

    The users avatar hash.

  6. val bot: Option[Boolean]

    Permalink

    If this user belongs to a OAuth2 application.

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val discriminator: String

    Permalink

    The discriminator for the user.

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

  9. val email: Option[String]

    Permalink

    The users email.

    The users email. Requires the email OAuth scope.

  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val id: UserId

    Permalink

    The id of the user.

    The id of the user.

    Definition Classes
    UserAuthor
  14. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  15. def isUser: Boolean

    Permalink

    If this author is not a webhook.

    If this author is not a webhook.

    Definition Classes
    UserAuthor
  16. def mention: String

    Permalink

    Mention this user.

  17. def mentionNick: String

    Permalink

    Mention this user with their nickname.

  18. val mfaEnabled: Option[Boolean]

    Permalink

    If this user has two factor authentication enabled.

  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  23. val username: String

    Permalink

    The name of the user.

  24. val verified: Option[Boolean]

    Permalink

    If this user email is verified.

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

  25. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Author[User]

Inherited from AnyRef

Inherited from Any

Ungrouped