From 9ca36b8eea5906fbfd583810230cd220369b762c Mon Sep 17 00:00:00 2001 From: Will Nelson Date: Sat, 25 May 2019 07:18:44 -0700 Subject: [PATCH] typings(VoiceState): add connection getter (#3292) * fix: add connection to voice state typings * Update typings/index.d.ts Co-Authored-By: SpaceEEC --- typings/index.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/typings/index.d.ts b/typings/index.d.ts index ee03f4c3b..4cd971ea8 100644 --- a/typings/index.d.ts +++ b/typings/index.d.ts @@ -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;