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

error #3

Open
IDevscripts opened this issue Jun 27, 2022 · 0 comments
Open

error #3

IDevscripts opened this issue Jun 27, 2022 · 0 comments

Comments

@IDevscripts
Copy link

C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main>node index.js
C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\node_modules\discord.js\src\client\Client.js:544
throw new TypeError('CLIENT_MISSING_INTENTS');
^

TypeError [CLIENT_MISSING_INTENTS]: Valid intents must be provided for the Client.
at botClient._validateOptions (C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\node_modules\←[4mdiscord.js←[24m\src\client\Client.js:544:13)
at new Client (C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\node_modules\←[4mdiscord.js←[24m\src\client\Client.js:73:10)
at new botClient (C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\bot.js:8:4)
at Object. (C:\Users\ojohn\OneDrive\Desktop\ticket-bot-main\index.js:5:13)
←[90m at Module._compile (node:internal/modules/cjs/loader:1105:14)←[39m
←[90m at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)←[39m
←[90m at Module.load (node:internal/modules/cjs/loader:981:32)←[39m
←[90m at Function.Module._load (node:internal/modules/cjs/loader:822:12)←[39m
←[90m at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)←[39m
←[90m at node:internal/main/run_main_module:17:47←[39m {
[←[32mSymbol(code)←[39m]: ←[32m'CLIENT_MISSING_INTENTS'←[39m
}

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

1 participant