Loading...
Searching...
No Matches
DiscordWebSocketClient Namespace Reference

the DiscordWebSocketClient namespace contains all the objects in the DiscordWebSocketClient module More...

## Classes

class | DiscordWebSocketClient
| The Discord WebSocket client class. More...
class | DiscordWebSocketConnection
| class for Discord websocket connections; returns an object of class DiscordWebSocketClient More...

## Variables

const | CloseDescMap = ...
| Maps Discord close codes to a short description string.
const | CloseReconnectMap = ...
| Maps Discord close codes to a reconnect hint.
const | DCC_ALREADY_AUTHENTICATED = 4005
| You sent more than one identify payload. Don't do that!
const | DCC_AUTHENTICATION_FAILED = 4004
| The account token sent with yextern identify payload is incorrect.
const | DCC_DECODE_ERROR = 4002
| You sent an invalid payload to Discord. Don't do that!
const | DCC_DISALLOWED_INTENT = 4014
| You sent a disallowed intent for a Gateway Intent.
const | DCC_INVALID_API = 4012
| You sent an invalid version for the gateway.
const | DCC_INVALID_INTENT = 4013
| You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value.
const | DCC_INVALID_SEQ = 4007
| The sequence sent when resuming the session was invalid. Reconnect and start a new session.
const | DCC_INVALID_SHARD = 4010
| You sent us an invalid shard when identifying.
const | DCC_NOT_AUTHENTICATED = 4003
| You sent us a payload prior to identifying.
const | DCC_RATE_LIMITED = 4008
| Woah nelly! You're sending payloads to us too quickly. Slow it down! You will be disconnected on receiving this.
const | DCC_SESSION_TIMED_OUT = 4009
| Yextern session timed out. Reconnect and start a new one.
const | DCC_SHARDING_REQUIRED = 4011
| The session would have handled too many guilds - you are required to shard yextern connection in order to connect.
const | DCC_UNKNOWN_ERROR = 4000
const | DCC_UNKNOWN_OPCODE = 4001
| You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that!
const | DI_AUTO_MODERATION_CONFIGURATION = 1 << 20
| Discord intent: message content.
const | DI_AUTO_MODERATION_EXECUTION = 1 << 21
| Discord intent:
const | DI_DIRECT_MESSAGE_REACTIONS = 1 << 13
| Discord intent: direct message reactions.
const | DI_DIRECT_MESSAGE_TYPING = 1 << 14
| Discord intent: direct message typing.
const | DI_DIRECT_MESSAGES = 1 << 12
| Discord intent: DMs.
const | DI_EMOJIS_AND_STICKERS = 1 << 3
| Discord intent: emojis and stickers.
const | DI_GUILD_MESSAGES = 1 << 9
| Discord intent: guild (server) messages.
const | DI_GUILD_SCHEDULED_EVENTS = 1 << 16
| Discord intent: message content.
const | DI_GUILDS = 1 << 0
const | DI_INTEGRATIONS = 1 << 4
| Discord intent: integrations.
const | DI_INVITES = 1 << 6
| Discord intent: invites.
const | DI_MEMBERS = 1 << 1
| Discord intent: members.
const | DI_MESSAGE_CONTENT = 1 << 15
| Discord intent: message content.
const | DI_MESSAGE_REACTIONS = 1 << 10
| Discord intent: message reactions.
const | DI_MESSAGE_TYPING = 1 << 11
| Discord intent: message typing.
const | DI_MODERATION = 1 << 2
| Discord intent: moderation.
const | DI_PRESENCES = 1 << 8
| Discord intent: presences.
const | DI_VOICE_STATES = 1 << 7
| Discord intent: voice states.
const | DI_WEBHOOKS = 1 << 5
| Discord intent: webhooks.

## Detailed Description

the DiscordWebSocketClient namespace contains all the objects in the DiscordWebSocketClient module