mirror of
https://github.com/danbulant/discord.js
synced 2026-05-27 22:11:53 +00:00
fix(VoiceConnection): compare new speaking to old to avoid TypeError
This commit is contained in:
parent
2ba00038d1
commit
01476de582
1 changed files with 1 additions and 1 deletions
|
|
@ -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) {
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue