refactor: Strengthen channel typings in appropriate places (#6232)

This commit is contained in:
Jiralite
2021-07-31 09:52:41 +01:00
committed by GitHub
parent 82daee576a
commit 65ae06429d
9 changed files with 70 additions and 41 deletions

View File

@@ -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 {ChannelResolvable|null} channel Channel to move the member to, or `null` if you want to disconnect them
* from voice.
* @param {VoiceChannelResolvable|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>}
*/