Skip to content

Missing documentation for required discord intents  #88

Description

@LeMoonStar

Trying to deploy the Bot as described in the (current) README on a freshly set-up discord bot results in a crash with the following message:

/usr/src/trojaner/node_modules/@discordjs/ws/dist/index.js:1066
        throw new Error("Used disallowed intents");
              ^

Error: Used disallowed intents
    at WebSocketShard.onClose (/usr/src/trojaner/node_modules/@discordjs/ws/dist/index.js:1066:15)
    at WebSocket.emit (node:events:513:28)
    at WebSocket.emitClose (/usr/src/trojaner/node_modules/ws/lib/websocket.js:258:10)
    at TLSSocket.socketOnClose (/usr/src/trojaner/node_modules/ws/lib/websocket.js:1264:15)
    at TLSSocket.emit (node:events:525:35)
    at node:net:322:12
    at TCP.done (node:_tls_wrap:588:7)

Node.js v18.16.1
exit code: 1

Indicating that the Bot is missing access to discord intents required for it to work.

The README should list all required intents to make deploying and testing the bot easier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationmetaEverything related to the github project, not the functionality on Discord

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions