Implement Receiver debug events

This commit is contained in:
Amish Shah
2018-01-19 22:47:01 +00:00
parent 83140f11b7
commit cb161a8a40
4 changed files with 11 additions and 11 deletions

View File

@@ -415,11 +415,6 @@ class VoiceConnection extends EventEmitter {
const guild = this.channel.guild;
const user = this.client.users.get(user_id);
this.ssrcMap.set(+ssrc, user);
if (!speaking) {
for (const receiver of this.receivers) {
receiver.stoppedSpeaking(user);
}
}
/**
* Emitted whenever a user starts/stops speaking.
* @event VoiceConnection#speaking