CalypsoBot
CalypsoBot copied to clipboard
start error
URL: wss://gateway.discord.gg
Recommended Shards: 1
2021-06-06 11:14:52 - debug [app.js]: [WS => Manager] Session Limit Information
Total: 1000
Remaining: 997
2021-06-06 11:14:52 - debug [app.js]: [WS => Manager] Spawning shards: 0
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] [CONNECT]
Gateway : wss://gateway.discord.gg/
Version : 6
Encoding : json
Compression: none
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] Setting a HELLO timeout for 20s.
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] [CONNECTED] wss://gateway.discord.gg/?v=6&encoding=json in 156ms
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] Clearing the HELLO timeout.
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] Setting a heartbeat interval for 41250ms.
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] [IDENTIFY] Shard 0/1
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] [CLOSE]
Event Code: 4014
Clean : true
Reason : Disallowed intent(s).
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] Clearing the heartbeat interval.
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] DISALLOWED_INTENTS
2021-06-06 11:14:52 - debug [app.js]: [WS => Manager] Manager was destroyed. Called by:
Error: MANAGER_DESTROYED
at WebSocketManager.destroy (/home/runner/CalypsoBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:333:54)
at Client.destroy (/home/runner/CalypsoBot/node_modules/discord.js/src/client/Client.js:236:13)
at Client.login (/home/runner/CalypsoBot/node_modules/discord.js/src/client/Client.js:225:12)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
2021-06-06 11:14:52 - debug [app.js]: [WS => Shard 0] WS State: CLOSED
2021-06-06 11:14:52 - error [app.js]: Privileged intent provided is not enabled or whitelisted.
{
"stack": "Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
at WebSocketManager.createShards (/home/runner/CalypsoBot/node_modules/discord.js/src/client/websocket/WebSocketManager.js:258:15)
at processTicksAndRejections (internal/process/task_queues.js:97:5)"
}```
i am getting this eroor while running
You have to go to discord developer portal and go to bot category and then you will have to enable privilege intent and error is fix