17teen / Discord-Presser-Server-Nuker

Nuke Discord Bot in Js (Beta has arrived)
329 stars 381 forks source link

error command #1

Closed hakzer234 closed 3 years ago

hakzer234 commented 3 years ago

(node:18608) UnhandledPromiseRejectionWarning: Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. at WebSocketManager.createShards (C:\Users\alexo\Downloads\Discord-Presser-Server-Nuker-master\Discord-Presser-Server-Nuker-master\node_modules\discord.js\src\client\websocket\WebSocketManager.js:258:15) at async Client.login (C:\Users\alexo\Downloads\Discord-Presser-Server-Nuker-master\Discord-Presser-Server-Nuker-master\node_modules\discord.js\src\client\Client.js:223:7) (Use node --trace-warnings ... to show where the warning was created) (node:18608) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:18608) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. can you help me?

17teen commented 3 years ago

If you read the README.md you would've avoided this issue.

Read Here:

Look at the example below it for clear visualisation.

hakzer234 commented 3 years ago

I have already figured it out thx, also thx a lot for the bot, i could avenge myself

17teen commented 3 years ago

revenge.