Closed skyeredwood closed 2 years ago
Temporary Fix until it is rectified.
Just go to node_modules/discord.js/typings/index.d.ts
Then add this line at top :
import { DiscordGatewayAdapterCreator } from '@discordjs/voice';
Then search for voiceAdapterCreator
in the same file and change it to :
public readonly voiceAdapterCreator: DiscordGatewayAdapterCreator;
imo using stage.guild.voiceAdapterCreator as unknown as DiscordGatewayAdapterCreator
is better than modifying source file
Resolved in v0.5.6
I still have this problem in versions 5.6 and 6.0
Resolved in v0.5.6
I still have this problem in 5.6 and 6.0
I still have this problem in versions 5.6 and 6.0
Resolved in v0.5.6
I still have this problem in 5.6 and 6.0
If you are on ts, add //@tts-ignore
on top of that line.
This is due to difference of discord-api-types version of discord.js and @discordjs/voice
Please describe the problem you are having in as much detail as possible: I'm trying to simply create a connection using
joinVoiceChannel
using the discordjs.guide example and get an error every time:Further details: