mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-10 08:33:30 +01:00
fix(VoiceConnection): compare new speaking to old to avoid TypeError
This commit is contained in:
@@ -452,7 +452,7 @@ class VoiceConnection extends EventEmitter {
|
||||
}
|
||||
}
|
||||
|
||||
if (guild && user && !old.equals(speaking)) {
|
||||
if (guild && user && !speaking.equals(old)) {
|
||||
const member = guild.member(user);
|
||||
if (member) {
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user