summary refs log tree commit diff
path: root/src/gateway/opcodes/VoiceStateUpdate.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-31 12:16:15 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-10-31 12:16:15 +1100
commitde1cd70becc422f57604ed04907bcfda0b1ba52f (patch)
tree07c4e564eb96b3d44aeff9747b3317f649037dfc /src/gateway/opcodes/VoiceStateUpdate.ts
parentSentry stuff? (diff)
downloadserver-de1cd70becc422f57604ed04907bcfda0b1ba52f.tar.xz
Add `private_channels_version` to `client_state` in identity. also set sentry user in gateway
Diffstat (limited to 'src/gateway/opcodes/VoiceStateUpdate.ts')
-rw-r--r--src/gateway/opcodes/VoiceStateUpdate.ts6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gateway/opcodes/VoiceStateUpdate.ts b/src/gateway/opcodes/VoiceStateUpdate.ts
index 17ed7e4f..daefc504 100644
--- a/src/gateway/opcodes/VoiceStateUpdate.ts
+++ b/src/gateway/opcodes/VoiceStateUpdate.ts
@@ -12,8 +12,12 @@ import {
 	VoiceStateUpdateEvent,
 	VoiceStateUpdateSchema,
 } from "@fosscord/util";
+
 // TODO: check if a voice server is setup
-// Notice: Bot users respect the voice channel's user limit, if set. When the voice channel is full, you will not receive the Voice State Update or Voice Server Update events in response to your own Voice State Update. Having MANAGE_CHANNELS permission bypasses this limit and allows you to join regardless of the channel being full or not.
+
+// Notice: Bot users respect the voice channel's user limit, if set.
+// When the voice channel is full, you will not receive the Voice State Update or Voice Server Update events in response to your own Voice State Update.
+// Having MANAGE_CHANNELS permission bypasses this limit and allows you to join regardless of the channel being full or not.
 
 export async function onVoiceStateUpdate(this: WebSocket, data: Payload) {
 	check.call(this, VoiceStateUpdateSchema, data.d);