mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-11 00:53:31 +01:00
typings(VoiceState): allow moving members to stage channels (#6684)
This commit is contained in:
@@ -116,8 +116,7 @@ class Channel extends Base {
|
||||
}
|
||||
|
||||
/**
|
||||
* Indicates whether this channel is voice-based
|
||||
* ({@link VoiceChannel} or {@link StageChannel}).
|
||||
* Indicates whether this channel is {@link BaseGuildVoiceChannel voice-based}.
|
||||
* @returns {boolean}
|
||||
*/
|
||||
isVoice() {
|
||||
|
||||
@@ -149,8 +149,8 @@ class VoiceState extends Base {
|
||||
|
||||
/**
|
||||
* Moves the member to a different channel, or disconnects them from the one they're in.
|
||||
* @param {VoiceChannelResolvable|null} channel Channel to move the member to, or `null` if you want to disconnect
|
||||
* them from voice.
|
||||
* @param {GuildVoiceChannelResolvable|null} channel Channel to move the member to, or `null` if you want to
|
||||
* disconnect them from voice.
|
||||
* @param {string} [reason] Reason for moving member to another channel or disconnecting
|
||||
* @returns {Promise<GuildMember>}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user