mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 09:03:29 +01:00
voice: more debug information
This commit is contained in:
@@ -26,6 +26,7 @@ class VoiceStateUpdate extends Action {
|
||||
|
||||
// Emit event
|
||||
if (member && member.user.id === client.user.id && data.channel_id) {
|
||||
client.emit('debug', `[VOICE] received voice state update: ${JSON.stringify(data)}`);
|
||||
client.emit('self.voiceStateUpdate', data);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user