mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 14:02:02 +00:00
voice: remove redundant debug info
This commit is contained in:
parent
f79f024343
commit
2c4d14a71b
1 changed files with 2 additions and 3 deletions
|
|
@ -188,13 +188,12 @@ class VoiceConnection extends EventEmitter {
|
|||
self_deaf: this.voice ? this.voice.selfDeaf : false,
|
||||
}, options);
|
||||
|
||||
const queueLength = this.channel.guild.shard.ratelimit.queue.length;
|
||||
this.emit('debug', `Sending voice state update (queue length is ${queueLength}): ${JSON.stringify(options)}`);
|
||||
this.emit('debug', `Sending voice state update: ${JSON.stringify(options)}`);
|
||||
|
||||
return this.channel.guild.shard.send({
|
||||
op: OPCodes.VOICE_STATE_UPDATE,
|
||||
d: options,
|
||||
});
|
||||
}, true);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue