mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-16 03:23:29 +01:00
@@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user