c

ackcord.gateway

GatewayIntentsSyntax

implicit final class GatewayIntentsSyntax extends AnyVal

Source
gateway.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GatewayIntentsSyntax
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new GatewayIntentsSyntax(intents: GatewayIntents)

Value Members

  1. def ++(other: GatewayIntents): GatewayIntents

    Add an intent to these intents.

    Add an intent to these intents.

    other

    The other intent.

  2. def --(other: GatewayIntents): GatewayIntents

    Remove an intent from these intents.

    Remove an intent from these intents.

    other

    The intent to remove.

  3. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  4. def hasFlag(other: GatewayIntents): Boolean

    Check if these intents has an intent.

    Check if these intents has an intent.

    other

    The intent to check against.

  5. def isNone: Boolean

    Check if these intents is empty.

  6. def toInt: Int