summary refs log tree commit diff
path: root/api/src/schema/Guild.ts
diff options
context:
space:
mode:
Diffstat (limited to 'api/src/schema/Guild.ts')
-rw-r--r--api/src/schema/Guild.ts12
1 files changed, 12 insertions, 0 deletions
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
+}