So Im making a discord music bot (not for public) and its based off some github code and I put it in and gives me this, I had the node:events problem and fixed it (maybe) and saw this
Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted.
at WebSocketManager.createShards (/home/runner/AttachedStingyMiddleware/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250:15)
at async Client.login (/home/runner/AttachedStingyMiddleware/node_modules/discord.js/src/client/Client.js:254:7) {
[Symbol(code)]: 'DISALLOWED_INTENTS'
}
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! AttachedStingyMiddleware@1.0.0 start: `node .`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the AttachedStingyMiddleware@1.0.0 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2022-01-16T06_06_23_431Z-debug.log
exit status 1
``
is the error
