Options
All
  • Public
  • Public/Protected
  • All
Menu

Class IntentsBitField

Utility class for working with intents

Hierarchy

  • IntentsBitField

Index

Constructors

Properties

bitfield: number
Flags: typeof GatewayIntentBits = GatewayIntentBits

Object containing all available intents

defaultBit: number = 0

The default bit

Methods

  • Checks whether the bitfield has a bit, or multiple bits

    Parameters

    Returns boolean

  • Removes bits from these

    Parameters

    • Rest ...bits: any[]

    Returns IntentsBitField

  • toArray(): string[]
  • Gets an Array of GatewayIntentBits names based on the bits available

    Returns string[]

  • Parameters

    Returns number

Generated using TypeDoc version 0.22.16, the 9/16/2022 at 1:09:15 AM