fix: nightly build failing

This commit is contained in:
DjDeveloperr 2020-12-06 13:15:38 +05:30
parent 97d6f3fd05
commit 1119379fb5
1 changed files with 1 additions and 1 deletions

View File

@ -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 => {