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:
Will Nelson
2019-05-25 07:18:44 -07:00
committed by SpaceEEC
parent 3f1232ebf3
commit 9ca36b8eea

1
typings/index.d.ts vendored
View File

@@ -1271,6 +1271,7 @@ declare module 'discord.js' {
constructor(guild: Guild, data: object);
public readonly channel: VoiceChannel | null;
public channelID?: Snowflake;
public readonly connection: VoiceConnection | null;
public readonly deaf?: boolean;
public guild: Guild;
public id: Snowflake;