feat: stage channels
This commit is contained in:
parent
01f92b35bf
commit
582b296393
3 changed files with 6 additions and 2 deletions
|
@ -156,7 +156,8 @@ export enum ChannelTypes {
|
||||||
GROUP_DM = 3,
|
GROUP_DM = 3,
|
||||||
GUILD_CATEGORY = 4,
|
GUILD_CATEGORY = 4,
|
||||||
GUILD_NEWS = 5,
|
GUILD_NEWS = 5,
|
||||||
GUILD_STORE = 6
|
GUILD_STORE = 6,
|
||||||
|
GUILD_STAGE_VOICE = 13,
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface MessagePayload {
|
export interface MessagePayload {
|
||||||
|
|
|
@ -32,5 +32,7 @@ export const PermissionFlags: { [key: string]: bigint } = {
|
||||||
MANAGE_ROLES: 1n << 28n,
|
MANAGE_ROLES: 1n << 28n,
|
||||||
MANAGE_WEBHOOKS: 1n << 29n,
|
MANAGE_WEBHOOKS: 1n << 29n,
|
||||||
MANAGE_EMOJIS: 1n << 30n,
|
MANAGE_EMOJIS: 1n << 30n,
|
||||||
USE_SLASH_COMMANDS: 1n << 31n
|
USE_SLASH_COMMANDS: 1n << 31n,
|
||||||
|
// Might be removed (as PR says)
|
||||||
|
REQUEST_TO_SPEAK: 0x100000000n,
|
||||||
}
|
}
|
||||||
|
|
|
@ -41,6 +41,7 @@ export interface VoiceStatePayload {
|
||||||
self_stream?: boolean
|
self_stream?: boolean
|
||||||
self_video: boolean
|
self_video: boolean
|
||||||
suppress: boolean
|
suppress: boolean
|
||||||
|
request_to_speak_timestamp: string | null
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Voice Region Structure */
|
/** Voice Region Structure */
|
||||||
|
|
Loading…
Reference in a new issue