Closed sanjayk0508 closed 1 year ago
and this is what i got in the terminal after 'npm start'
> chatgpt-discordjs@1.0.0 start
> node index.js
Started refreshing application (/) commands.
Successfully reloaded application (/) commands.
\AI\ChatGPT - Discord\Discord-ChatGPT-Bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:250
throw new DiscordjsError(unrecoverableErrorCodeMap[error.code]);
^
Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
at WebSocketManager.createShards (C:\Users\Admin\OneDrive\Desktop\AI\ChatGPT - Discord\Discord-ChatGPT-Bot\node_modules\discord.js\src\client\websocket\WebSocketManager.js:250:15)
at async Client.login (\Desktop\AI\ChatGPT - Discord\Discord-ChatGPT-Bot\node_modules\discord.js\src\client\Client.js:226:7) {
code: 'DisallowedIntents'
}
I did everything which is required to run the bot. But this error is popping up while interacting with it. And it shows the bot is offline as well, may be this error is from my end. I would be more than happy if any could help me out or guide me.