diff --git a/src/VoiceInterface/VoiceUtils.ts b/src/VoiceInterface/VoiceUtils.ts index 3fce5fa..00ced00 100644 --- a/src/VoiceInterface/VoiceUtils.ts +++ b/src/VoiceInterface/VoiceUtils.ts @@ -34,7 +34,7 @@ class VoiceUtils { let conn = joinVoiceChannel({ guildId: channel.guild.id, channelId: channel.id, - adapterCreator: channel.guild.voiceAdapterCreator, + adapterCreator: (channel.guild as any).voiceAdapterCreator, selfDeaf: Boolean(options.deaf) });