mirror of
https://github.com/danbulant/discord.js
synced 2026-06-06 16:22:08 +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 {User} user The user that has started/stopped speaking
|
||||||
* @param {boolean} speaking Whether or not the user is 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);
|
guild._memberSpeakUpdate(user_id, speaking);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue