Packages

sealed trait Author[A] extends AnyRef

A author of a message. While a message is normally sent by a User, it can also be sent by a WebhookAuthor.

Source
message.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Author
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def discriminator: String

    The discriminator of the author.

  2. abstract def id: SnowflakeType[A]

    The id for this author.

  3. abstract def isUser: Boolean

    If this author is not a webhook.

  4. abstract def username: String

    The name of the author.