From cd52424fb735de9664022b27008f4c6e936efc20 Mon Sep 17 00:00:00 2001 From: uhKevinMC Date: Thu, 19 Mar 2020 05:51:40 -0500 Subject: [PATCH] docs(VoiceState): improve phrasing of setChannel method (#3959) * (docs) Fixed phrasing of docs Added permission needed to edit a member's voice state and adjusted docs to say **"Disconnect"** instead of **"Kicking"** the member. * fixed line length on 156 --- src/structures/VoiceState.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/structures/VoiceState.js b/src/structures/VoiceState.js index 633d63e4f..cc9bcde19 100644 --- a/src/structures/VoiceState.js +++ b/src/structures/VoiceState.js @@ -152,10 +152,10 @@ class VoiceState extends Base { } /** - * Moves the member to a different channel, or kick them from the one they're in. - * @param {ChannelResolvable|null} [channel] Channel to move the member to, or `null` if you want to kick them from - * voice - * @param {string} [reason] Reason for moving member to another channel or kicking + * Moves the member to a different channel, or disconnects them from the one they're in. + * @param {ChannelResolvable|null} [channel] Channel to move the member to, or `null` if you want to disconnect them + * from voice. Requires the `MOVE_MEMBERS` permission. + * @param {string} [reason] Reason for moving member to another channel or disconnecting * @returns {Promise} */ setChannel(channel, reason) {