mirror of
https://github.com/discordjs/discord-api-types.git
synced 2026-05-21 02:40:08 +00:00
feat(voice): add close codes 4021 and 4022 (#1283)
This commit is contained in:
8
deno/voice/v4.ts
generated
8
deno/voice/v4.ts
generated
@@ -160,4 +160,12 @@ export enum VoiceCloseCodes {
|
||||
* You sent a malformed request
|
||||
*/
|
||||
BadRequest = 4_020,
|
||||
/**
|
||||
* Disconnect due to rate limit exceeded. Should not reconnect
|
||||
*/
|
||||
RateLimited,
|
||||
/**
|
||||
* Disconnect all clients due to call terminated (channel deleted, voice server changed, etc.). Should not reconnect
|
||||
*/
|
||||
CallTerminated,
|
||||
}
|
||||
|
||||
8
deno/voice/v8.ts
generated
8
deno/voice/v8.ts
generated
@@ -156,6 +156,14 @@ export enum VoiceCloseCodes {
|
||||
* You sent a malformed request
|
||||
*/
|
||||
BadRequest = 4_020,
|
||||
/**
|
||||
* Disconnect due to rate limit exceeded. Should not reconnect
|
||||
*/
|
||||
RateLimited,
|
||||
/**
|
||||
* Disconnect all clients due to call terminated (channel deleted, voice server changed, etc.). Should not reconnect
|
||||
*/
|
||||
CallTerminated,
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -160,4 +160,12 @@ export enum VoiceCloseCodes {
|
||||
* You sent a malformed request
|
||||
*/
|
||||
BadRequest = 4_020,
|
||||
/**
|
||||
* Disconnect due to rate limit exceeded. Should not reconnect
|
||||
*/
|
||||
RateLimited,
|
||||
/**
|
||||
* Disconnect all clients due to call terminated (channel deleted, voice server changed, etc.). Should not reconnect
|
||||
*/
|
||||
CallTerminated,
|
||||
}
|
||||
|
||||
@@ -156,6 +156,14 @@ export enum VoiceCloseCodes {
|
||||
* You sent a malformed request
|
||||
*/
|
||||
BadRequest = 4_020,
|
||||
/**
|
||||
* Disconnect due to rate limit exceeded. Should not reconnect
|
||||
*/
|
||||
RateLimited,
|
||||
/**
|
||||
* Disconnect all clients due to call terminated (channel deleted, voice server changed, etc.). Should not reconnect
|
||||
*/
|
||||
CallTerminated,
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user