Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting an error with Client Intents #89

Closed
LilKurisuu opened this issue Aug 16, 2021 · 2 comments
Closed

Getting an error with Client Intents #89

LilKurisuu opened this issue Aug 16, 2021 · 2 comments

Comments

@LilKurisuu
Copy link

TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client. at Client._validateOptions (C:\Users\gus74\Desktop\DiscordBot\Test\node_modules\discord.js\src\client\Client.js:544:13) at new Client (C:\Users\gus74\Desktop\DiscordBot\Test\node_modules\discord.js\src\client\Client.js:73:10) at Object.<anonymous> (C:\Users\gus74\Desktop\DiscordBot\Test\src\index.js:5:16) at Module._compile (node:internal/modules/cjs/loader:1101:14) at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10) at Module.load (node:internal/modules/cjs/loader:981:32) at Function.Module._load (node:internal/modules/cjs/loader:822:12) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:79:12) at node:internal/main/run_main_module:17:47 { [Symbol(code)]: 'CLIENT_MISSING_INTENTS'`

@GAndersenCode
Copy link

Slappey isn't compatible with latest version of DiscordJS (v13)
You have to uninstall discord.js and install

npm i discord.js@12.5.3

@LilKurisuu
Copy link
Author

Alright thanks for the reply, hoping it will support v13 soon, I'll practice my JS skills on v12 for now 😊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants