types(VoiceState): fix optional params (#5993)

This commit is contained in:
Pravesh Kunwar
2021-07-03 03:57:41 -04:00
committed by GitHub
parent c40b06cac9
commit 1242c5434d
2 changed files with 2 additions and 2 deletions

View File

@@ -149,7 +149,7 @@ class VoiceState extends Base {
/**
* 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
* @param {ChannelResolvable|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>}