You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.
C:\xampp\htdocs\discord-interrupt-bot\node_modules\discord.js\src\client\Client.js:548
throw new TypeError('CLIENT_MISSING_INTENTS');
^
TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
at Client._validateOptions (C:\xampp\htdocs\discord-interrupt-bot\node_modules\discord.js\src\client\Client.js:548:13)
at new Client (C:\xampp\htdocs\discord-interrupt-bot\node_modules\discord.js\src\client\Client.js:76:10)
at Object. (C:\xampp\htdocs\discord-interrupt-bot\index.js:2: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:81:12)
at node:internal/main/run_main_module:17:47 {
[Symbol(code)]: 'CLIENT_MISSING_INTENTS'
The text was updated successfully, but these errors were encountered:
This project was made with discord.js v12, the intents error you're receiving indicates you're on discord.js v13. I've updated the repository to include a package.json file and also updated the readme with instructions to install the correct dependencies
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
C:\xampp\htdocs\discord-interrupt-bot\node_modules\discord.js\src\client\Client.js:548
throw new TypeError('CLIENT_MISSING_INTENTS');
^
TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
at Client._validateOptions (C:\xampp\htdocs\discord-interrupt-bot\node_modules\discord.js\src\client\Client.js:548:13)
at new Client (C:\xampp\htdocs\discord-interrupt-bot\node_modules\discord.js\src\client\Client.js:76:10)
at Object. (C:\xampp\htdocs\discord-interrupt-bot\index.js:2: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:81:12)
at node:internal/main/run_main_module:17:47 {
[Symbol(code)]: 'CLIENT_MISSING_INTENTS'
The text was updated successfully, but these errors were encountered: