Privileged intent provided is not enabled. #1

Closed
opened 2022-07-23 07:55:28 -04:00 by LauraOrchid · 1 comment
Contributor

Trying this template with my bot gives this error:

/root/lauraxd/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250
        throw new Error(unrecoverableErrorCodeMap[error.code]);
              ^

Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted.
    at WebSocketManager.createShards (/root/lauraxd/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250:15)
    at async Client.login (/root/lauraxd/node_modules/discord.js/src/client/Client.js:232:7) {
  [Symbol(code)]: 15
}

Perhaps you can explain what to do to enable the intents needed. Thank you.

Trying this template with my bot gives this error: ``` /root/lauraxd/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250 throw new Error(unrecoverableErrorCodeMap[error.code]); ^ Error [DisallowedIntents]: Privileged intent provided is not enabled or whitelisted. at WebSocketManager.createShards (/root/lauraxd/node_modules/discord.js/src/client/websocket/WebSocketManager.js:250:15) at async Client.login (/root/lauraxd/node_modules/discord.js/src/client/Client.js:232:7) { [Symbol(code)]: 15 } ``` Perhaps you can explain what to do to enable the intents needed. Thank you.
Owner

This is an issue with your Discord Bot Intents at: https://discord.com/developers/applications/

image

This is an issue with your Discord Bot Intents at: https://discord.com/developers/applications/ ![image](https://media.discordapp.net/attachments/954136038350143510/1000371427624636456/unknown.png?width=1313&height=660)
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: snxraven/DiscordJS-v14-Template#1
No description provided.