mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
Fixed something that may break later
This commit is contained in:
@@ -283,7 +283,7 @@ class VoiceConnection extends EventEmitter {
|
||||
self.vWSData = data.d;
|
||||
|
||||
KAI = setInterval(() => {
|
||||
if (vWS.readyState === WebSocket.OPEN)
|
||||
if (vWS && vWS.readyState === WebSocket.OPEN)
|
||||
vWS.send(JSON.stringify({
|
||||
op: 3,
|
||||
d: null
|
||||
|
||||
Reference in New Issue
Block a user