Added /guilds/:id/voice-states apis

This commit is contained in:
AlTech98
2021-09-04 11:46:46 +02:00
parent aafdc5d0ee
commit 58fb2d8a91
4 changed files with 96 additions and 0 deletions
+12
View File
@@ -92,3 +92,15 @@ export interface GuildUpdateWelcomeScreenSchema {
enabled?: boolean;
description?: string;
}
export const VoiceStateUpdateSchema = {
channel_id: String, // Snowflake
$suppress: Boolean,
$request_to_speak_timestamp: String // ISO8601 timestamp
};
export interface VoiceStateUpdateSchema {
channel_id: string; // Snowflake
suppress?: boolean;
request_to_speak_timestamp?: string // ISO8601 timestamp
}