Cyanic76 / discord-modmail

THIS IS A MIRROR. ISSUES AND PR MUST BE SUBMITTED TO CODEBERG.
https://codeberg.org/Cyanic76/discord-modmail
MIT License
77 stars 48 forks source link

Disallowed Intents (privilegied intents) #40

Closed BadassDuckieElise closed 2 years ago

BadassDuckieElise commented 3 years ago

When i try to start the bot, there pops up an error saying, DISALLOWED_INTENTS how do i fix this?

Error [DISALLOWED_INTENTS]: Privileged intent provided is not enabled or whitelisted. at WebSocketManager.createShards (C:\code editing\discord-modmail-master\node_modules\discord.js\src\client\websocket\WebSocketManager.js:249:15) at async Client.login (C:\code editing\discord-modmail-master\node_modules\discord.js\src\client\Client.js:245:7) {

}

Cyanic76 commented 3 years ago

Go to the Dev Portal, log in and enable the required intents under the "Bot" section of your app.

Intent

The first one may not be required, though.