refactor(VoiceState): Change kick to disconnect (#6251)

This commit is contained in:
Jiralite
2021-07-31 21:04:10 +01:00
committed by GitHub
parent bb5e648f3d
commit 24931d713b
3 changed files with 6 additions and 6 deletions

View File

@@ -139,11 +139,11 @@ class VoiceState extends Base {
}
/**
* Kicks the member from the channel.
* @param {string} [reason] Reason for kicking member from the channel
* Disconnects the member from the channel.
* @param {string} [reason] Reason for disconnecting the member from the channel
* @returns {Promise<GuildMember>}
*/
kick(reason) {
disconnect(reason) {
return this.setChannel(null, reason);
}