Question: i need help bad because i know this code works cus i had it on another bot but now it just doesn’t work any more here are my errors well some ain’t errors but here is what it shows
/nix/store/0g3sc6fhnhsxx8d837kyj06qcbjind1b-nodejs-18.16.1/bin/node $file
Project is running!
/home/runner/mrcolor-bot/node_modules/@discordjs/ws/dist/index.js:1132
error: new Error("Used disallowed intents")
^
Error: Used disallowed intents
at WebSocketShard.onClose (/home/runner/mrcolor-bot/node_modules/@discordjs/ws/dist/index.js:1132:18)
at connection.onclose (/home/runner/mrcolor-bot/node_modules/@discordjs/ws/dist/index.js:676:17)
at callListener (/home/runner/mrcolor-bot/node_modules/ws/lib/event-target.js:290:14)
at WebSocket.onClose (/home/runner/mrcolor-bot/node_modules/ws/lib/event-target.js:220:9)
at WebSocket.emit (node:events:513:28)
at WebSocket.emitClose (/home/runner/mrcolor-bot/node_modules/ws/lib/websocket.js:260:10)
at TLSSocket.socketOnClose (/home/runner/mrcolor-bot/node_modules/ws/lib/websocket.js:1272:15)
at TLSSocket.emit (node:events:525:35)
at node:net:322:12
at TCP.done (node:_tls_wrap:588:7)
Node.js v18.16.1
exit status 1
Repl link: https://replit.com/@COOLDOGSTEAM/mrcolor-bot
code snippet