mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-18 04:23:31 +01:00
typings(VoiceState): add connection getter (#3292)
* fix: add connection to voice state typings * Update typings/index.d.ts Co-Authored-By: SpaceEEC <spaceeec@yahoo.com>
This commit is contained in:
1
typings/index.d.ts
vendored
1
typings/index.d.ts
vendored
@@ -1271,6 +1271,7 @@ declare module 'discord.js' {
|
|||||||
constructor(guild: Guild, data: object);
|
constructor(guild: Guild, data: object);
|
||||||
public readonly channel: VoiceChannel | null;
|
public readonly channel: VoiceChannel | null;
|
||||||
public channelID?: Snowflake;
|
public channelID?: Snowflake;
|
||||||
|
public readonly connection: VoiceConnection | null;
|
||||||
public readonly deaf?: boolean;
|
public readonly deaf?: boolean;
|
||||||
public guild: Guild;
|
public guild: Guild;
|
||||||
public id: Snowflake;
|
public id: Snowflake;
|
||||||
|
|||||||
Reference in New Issue
Block a user