tn_discord library
Classes
- Client
- The main hub for interacting with the Discord API, and the starting point for any bot.
- GatewayIntentBits
- A list of all Gateway Intents Bits.
- WebhookClient
Functions
-
calculateIntents(
List< int> intents) → int -
This function calculate the intent number required from the gateway.
intents
is a list of multiples of two. You can use GatewayIntentBits class. Return a number.