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

Unable to connec the bot #15

Open
arahmy opened this issue Oct 25, 2023 · 2 comments
Open

Unable to connec the bot #15

arahmy opened this issue Oct 25, 2023 · 2 comments

Comments

@arahmy
Copy link

arahmy commented Oct 25, 2023

Hello,
Im trying to setup the bot on my vps, i have completed all config files but i have this error when i start the bot :

Unable to connect to the bot, this might be an invalid token or missing required intents! Error: Used disallowed intents at WebSocketShard.onClose (C:\Users\ipolo\Desktop\DiscordJS-V14-ModMail-Bot-8.0.0\node_modules\@discordjs\ws\dist\index.js:1132:18) at connection.onclose (C:\Users\ipolo\Desktop\DiscordJS-V14-ModMail-Bot-8.0.0\node_modules\@discordjs\ws\dist\index.js:676:17) at callListener (C:\Users\ipolo\Desktop\DiscordJS-V14-ModMail-Bot-8.0.0\node_modules\ws\lib\event-target.js:290:14) at WebSocket.onClose (C:\Users\ipolo\Desktop\DiscordJS-V14-ModMail-Bot-8.0.0\node_modules\ws\lib\event-target.js:220:9) at WebSocket.emit (node:events:514:28) at WebSocket.emitClose (C:\Users\ipolo\Desktop\DiscordJS-V14-ModMail-Bot-8.0.0\node_modules\ws\lib\websocket.js:260:10) at TLSSocket.socketOnClose (C:\Users\ipolo\Desktop\DiscordJS-V14-ModMail-Bot-8.0.0\node_modules\ws\lib\websocket.js:1272:15) at TLSSocket.emit (node:events:526:35) at node:net:323:12 at TCP.done (node:_tls_wrap:588:7)

Can you help please ?

@mrkingtj
Copy link

mrkingtj commented Nov 5, 2023

Have you set the indents on the discord dev portal? (where you made the bot and got the token from)

@arahmy
Copy link
Author

arahmy commented Nov 6, 2023

No I don’t, I will try this tomorrow and comment again to inform you about that, thanks

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