chore: typing
This commit is contained in:
@@ -95,7 +95,7 @@ class ClientVoiceManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Sets up a request to join a voice channel.
|
* 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
|
* @param {JoinChannelConfig} config Config to join voice channel
|
||||||
* @returns {Promise<VoiceConnection>}
|
* @returns {Promise<VoiceConnection>}
|
||||||
*/
|
*/
|
||||||
|
|||||||
2
typings/index.d.ts
vendored
2
typings/index.d.ts
vendored
@@ -884,7 +884,7 @@ export class ClientVoiceManager {
|
|||||||
public adapters: Map<Snowflake, InternalDiscordGatewayAdapterLibraryMethods>;
|
public adapters: Map<Snowflake, InternalDiscordGatewayAdapterLibraryMethods>;
|
||||||
public connections: Collection<Snowflake, VoiceConnection>;
|
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 {
|
export interface JoinChannelConfig {
|
||||||
|
|||||||
Reference in New Issue
Block a user