summary refs log tree commit diff
path: root/src/gateway/opcodes/VoiceServerPing.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/gateway/opcodes/VoiceServerPing.ts')
-rw-r--r--src/gateway/opcodes/VoiceServerPing.ts9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/gateway/opcodes/VoiceServerPing.ts b/src/gateway/opcodes/VoiceServerPing.ts
new file mode 100644
index 00000000..f684cb33
--- /dev/null
+++ b/src/gateway/opcodes/VoiceServerPing.ts
@@ -0,0 +1,9 @@
+import { Payload, WebSocket } from "@fosscord/gateway";
+import { Send } from "../util/Send";
+
+export async function onVoiceServerPing(this: WebSocket, data: Payload) {
+	console.log("Got voice server ping: ", data, "Doing a noop!");
+	
+
+	// return this.close(CloseCodes.Invalid_session);
+}