summary refs log tree commit diff
path: root/src/util
diff options
context:
space:
mode:
authorPuyodead1 <puyodead@proton.me>2023-05-06 23:51:26 -0400
committerPuyodead1 <puyodead@proton.me>2023-05-06 23:51:26 -0400
commitdedb20d64f78aad607799048740f80fc039b24b4 (patch)
tree5d2ed2c9c145df10812b165c434b10ae83c11106 /src/util
parentMerge pull request #1048 from ppongpeauk/patch1 (diff)
downloadserver-dedb20d64f78aad607799048740f80fc039b24b4.tar.xz
add flags property to voice state update
Diffstat (limited to 'src/util')
-rw-r--r--src/util/schemas/VoiceStateUpdateSchema.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/schemas/VoiceStateUpdateSchema.ts b/src/util/schemas/VoiceStateUpdateSchema.ts
index a7d9f9d7..fda073e9 100644
--- a/src/util/schemas/VoiceStateUpdateSchema.ts
+++ b/src/util/schemas/VoiceStateUpdateSchema.ts
@@ -26,6 +26,7 @@ export interface VoiceStateUpdateSchema {
 	preferred_region?: string;
 	request_to_speak_timestamp?: Date;
 	suppress?: boolean;
+	flags?: number;
 }
 
 export const VoiceStateUpdateSchema = {
@@ -37,4 +38,5 @@ export const VoiceStateUpdateSchema = {
 	$preferred_region: String,
 	$request_to_speak_timestamp: Date,
 	$suppress: Boolean,
+	$flags: Number,
 };