From 58fb2d8a9187fb9f43a0df53fd5f36a75d02cc83 Mon Sep 17 00:00:00 2001 From: AlTech98 Date: Sat, 4 Sep 2021 11:46:46 +0200 Subject: Added /guilds/:id/voice-states apis --- api/src/schema/Guild.ts | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'api/src/schema/Guild.ts') diff --git a/api/src/schema/Guild.ts b/api/src/schema/Guild.ts index 7c96905e..29c78ab0 100644 --- a/api/src/schema/Guild.ts +++ b/api/src/schema/Guild.ts @@ -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 +} -- cgit 1.5.1