diff --git a/src/client/voice/ClientVoiceManager.js b/src/client/voice/ClientVoiceManager.js index 7a20da3..ab1cc7e 100644 --- a/src/client/voice/ClientVoiceManager.js +++ b/src/client/voice/ClientVoiceManager.js @@ -95,7 +95,7 @@ class ClientVoiceManager { /** * Sets up a request to join a voice channel. - * @param {VoiceChannel} channel The voice channel to join + * @param {VoiceChannel | StageChannel | DMChannel | GroupDMChannel} channel The voice channel to join * @param {JoinChannelConfig} config Config to join voice channel * @returns {Promise} */ diff --git a/typings/index.d.ts b/typings/index.d.ts index 8a59b54..f2c32ab 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -884,7 +884,7 @@ export class ClientVoiceManager { public adapters: Map; public connections: Collection; - public joinChannel(channel: VoiceChannel, config?: JoinChannelConfig): Promise; + public joinChannel(channel: VoiceChannel | StageChannel | DMChannel | GroupDMChannel, config?: JoinChannelConfig): Promise; } export interface JoinChannelConfig {