Type 'InternalDiscordGatewayAdapterCreator' is not assignable to type 'DiscordGatewayAdapterCreator'
I'm getting an error that the InternalDiscordGatewayAdapterCreator is not assignable to the type DiscordGatewayAdapterCreator. I'm using discord.js v14.16.3 and @discordjs/voice v0.17.0 as shown in my
package.json
. The code still compiles and my bot can still join voice channels, its just giving me this error everytime I run tsc
.2 Replies
- What are your intents?
GuildVoiceStates
is required to receive voice data!
- Show what dependencies you are using -- generateDependencyReport()
is exported from @discordjs/voice
.
- Try looking at common examples: https://github.com/discordjs/voice-examples.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!
- ✅
Marked as resolved by OP
I've tried to delete my node_modules and pnpm lockfile, reinstall typescript, discord.js, @discordjs/voice, etc. Restarting the TS server on vs code, reloading the window, even asking chatgpt. Can't seem to figure out why its giving me this error all of the sudden when its never happened before
downgraded from 0.37.101 to 0.37.100 and the issue was fixed
thank you 💯