Packages

case class Ban(reason: Option[String], userId: UserId) extends Product with Serializable

Represents a banned user.

reason

Why the user was banned.

userId

The user that was baned.

Source
guild.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Ban
  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 Ban(reason: Option[String], userId: UserId)

    reason

    Why the user was banned.

    userId

    The user that was baned.

Value Members

  1. def productElementNames: Iterator[String]
    Definition Classes
    Product
  2. val reason: Option[String]
  3. def user(implicit c: CacheSnapshot): Option[User]

    Get the user this ban applies to.

  4. val userId: UserId