chore: typing

This commit is contained in:
Elysia
2024-07-24 19:30:09 +07:00
parent 26aa85c126
commit 62855ab34a
2 changed files with 2 additions and 2 deletions

View File

@@ -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<VoiceConnection>}
*/

2
typings/index.d.ts vendored
View File

@@ -884,7 +884,7 @@ export class ClientVoiceManager {
public adapters: Map<Snowflake, InternalDiscordGatewayAdapterLibraryMethods>;
public connections: Collection<Snowflake, VoiceConnection>;
public joinChannel(channel: VoiceChannel, config?: JoinChannelConfig): Promise<VoiceConnection>;
public joinChannel(channel: VoiceChannel | StageChannel | DMChannel | GroupDMChannel, config?: JoinChannelConfig): Promise<VoiceConnection>;
}
export interface JoinChannelConfig {