feat: stage channels

This commit is contained in:
DjDeveloperr 2021-04-03 11:02:25 +05:30
parent 01f92b35bf
commit 582b296393
3 changed files with 6 additions and 2 deletions

View File

@ -156,7 +156,8 @@ export enum ChannelTypes {
GROUP_DM = 3,
GUILD_CATEGORY = 4,
GUILD_NEWS = 5,
GUILD_STORE = 6
GUILD_STORE = 6,
GUILD_STAGE_VOICE = 13,
}
export interface MessagePayload {

View File

@ -32,5 +32,7 @@ export const PermissionFlags: { [key: string]: bigint } = {
MANAGE_ROLES: 1n << 28n,
MANAGE_WEBHOOKS: 1n << 29n,
MANAGE_EMOJIS: 1n << 30n,
USE_SLASH_COMMANDS: 1n << 31n
USE_SLASH_COMMANDS: 1n << 31n,
// Might be removed (as PR says)
REQUEST_TO_SPEAK: 0x100000000n,
}

View File

@ -41,6 +41,7 @@ export interface VoiceStatePayload {
self_stream?: boolean
self_video: boolean
suppress: boolean
request_to_speak_timestamp: string | null
}
/** Voice Region Structure */