fix: nightly build failing

This commit is contained in:
DjDeveloperr 2020-12-06 13:15:38 +05:30
parent 97d6f3fd05
commit 1119379fb5

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