mirror of
https://github.com/danbulant/discord.js
synced 2026-06-10 02:02:40 +00:00
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
This commit is contained in:
parent
5b9cdc5cd2
commit
cd52424fb7
1 changed files with 4 additions and 4 deletions
|
|
@ -152,10 +152,10 @@ class VoiceState extends Base {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Moves the member to a different channel, or kick them from the one they're in.
|
* 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 kick them from
|
* @param {ChannelResolvable|null} [channel] Channel to move the member to, or `null` if you want to disconnect them
|
||||||
* voice
|
* from voice. Requires the `MOVE_MEMBERS` permission.
|
||||||
* @param {string} [reason] Reason for moving member to another channel or kicking
|
* @param {string} [reason] Reason for moving member to another channel or disconnecting
|
||||||
* @returns {Promise<GuildMember>}
|
* @returns {Promise<GuildMember>}
|
||||||
*/
|
*/
|
||||||
setChannel(channel, reason) {
|
setChannel(channel, reason) {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue