Loading...
Searching...
No Matches
Discord Close Event Codes

## Variables

const | DiscordWebSocketClient::DCC_ALREADY_AUTHENTICATED = 4005
| You sent more than one identify payload. Don't do that!
const | DiscordWebSocketClient::DCC_AUTHENTICATION_FAILED = 4004
| The account token sent with yextern identify payload is incorrect.
const | DiscordWebSocketClient::DCC_DECODE_ERROR = 4002
| You sent an invalid payload to Discord. Don't do that!
const | DiscordWebSocketClient::DCC_DISALLOWED_INTENT = 4014
| You sent a disallowed intent for a Gateway Intent.
const | DiscordWebSocketClient::DCC_INVALID_API = 4012
| You sent an invalid version for the gateway.
const | DiscordWebSocketClient::DCC_INVALID_INTENT = 4013
| You sent an invalid intent for a Gateway Intent. You may have incorrectly calculated the bitwise value.
const | DiscordWebSocketClient::DCC_INVALID_SEQ = 4007
| The sequence sent when resuming the session was invalid. Reconnect and start a new session.
const | DiscordWebSocketClient::DCC_INVALID_SHARD = 4010
| You sent us an invalid shard when identifying.
const | DiscordWebSocketClient::DCC_NOT_AUTHENTICATED = 4003
| You sent us a payload prior to identifying.
const | DiscordWebSocketClient::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 | DiscordWebSocketClient::DCC_SESSION_TIMED_OUT = 4009
| Yextern session timed out. Reconnect and start a new one.
const | DiscordWebSocketClient::DCC_SHARDING_REQUIRED = 4011
| The session would have handled too many guilds - you are required to shard yextern connection in order to connect.
const | DiscordWebSocketClient::DCC_UNKNOWN_ERROR = 4000
const | DiscordWebSocketClient::DCC_UNKNOWN_OPCODE = 4001
| You sent an invalid Gateway opcode or an invalid payload for an opcode. Don't do that!

## Detailed Description

## Variable Documentation

## DCC_DISALLOWED_INTENT

const DiscordWebSocketClient::DCC_DISALLOWED_INTENT = 4014

You sent a disallowed intent for a Gateway Intent.

You may have tried to specify an intent that you have not enabled or are not approved for

## DCC_UNKNOWN_ERROR

const DiscordWebSocketClient::DCC_UNKNOWN_ERROR = 4000

We're not sure what went wrong. Try reconnecting?