mirror of
https://github.com/danbulant/discord.js
synced 2026-05-24 20:42:27 +00:00
parent
d1d8179460
commit
ab589fa5f2
1 changed files with 1 additions and 1 deletions
|
|
@ -410,7 +410,7 @@ class VoiceConnection extends EventEmitter {
|
|||
* @param {User} user The user that has started/stopped speaking
|
||||
* @param {boolean} speaking Whether or not the user is speaking
|
||||
*/
|
||||
if (this.status === Constants.Status.CONNECTED) this.emit('speaking', user, speaking);
|
||||
if (this.status === Constants.VoiceStatus.CONNECTED) this.emit('speaking', user, speaking);
|
||||
guild._memberSpeakUpdate(user_id, speaking);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue