@discordjs/voice 0.10.0-dev patch
This commit is contained in:
parent
f9ec41c9b6
commit
f60f5bc691
File diff suppressed because one or more lines are too long
@ -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
2061
src/util/Voice.js
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user