From 1119379fb5bec1c9ee7d60e67637c78d367287be Mon Sep 17 00:00:00 2001 From: DjDeveloperr Date: Sun, 6 Dec 2020 13:15:38 +0530 Subject: [PATCH] fix: nightly build failing --- src/structures/guildVoiceChannel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/structures/guildVoiceChannel.ts b/src/structures/guildVoiceChannel.ts index d0177ab..ee47e95 100644 --- a/src/structures/guildVoiceChannel.ts +++ b/src/structures/guildVoiceChannel.ts @@ -42,7 +42,7 @@ export class VoiceChannel extends Channel { if (state.channel?.id !== this.id) return this.client.removeListener('voiceStateAdd', onVoiceStateAdd) done++ - if (done >= 2) resolve(vcdata) + if (done >= 2) resolve((vcdata as unknown) as VoiceServerUpdateData) } const onVoiceServerUpdate = (data: VoiceServerUpdateData): void => {