@discordjs/voice 0.10.0-dev patch

This commit is contained in:
March 7th 2022-05-21 21:02:00 +07:00
parent f9ec41c9b6
commit f60f5bc691
3 changed files with 2062 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -49,12 +49,6 @@ class VoiceStateUpdate extends Action {
client.voice.onVoiceStateUpdate(data); client.voice.onVoiceStateUpdate(data);
} }
/**
* Emitted whenever a member changes voice state - e.g. joins/leaves a channel, mutes/unmutes.
* @event Client#voiceStateUpdate
* @param {VoiceState} oldState The voice state before the update
* @param {VoiceState} newState The voice state after the update
*/
client.emit(Events.VOICE_STATE_UPDATE, oldState, newState); client.emit(Events.VOICE_STATE_UPDATE, oldState, newState);
} }
} }

2061
src/util/Voice.js Normal file

File diff suppressed because it is too large Load Diff