Skip to content

DiscordAPIError: Missing Access #1

@Bas-Koerver

Description

@Bas-Koerver

When running the bot in wsl ubuntu I get the error DiscordAPIError: Missing Access, I gave the bot administrator permission and the application.commands scope.

Start-up and error message:

[INFO] 12:06:05 ts-node-dev ver. 1.1.8 (using ts-node ver. 9.1.1, typescript ver. 4.5.5)
Robot Trip: Connected
DiscordAPIError: Missing Access
    at RequestHandler.execute (/home/bas/test/robot-trip/code/node_modules/discord.js/src/rest/RequestHandler.js:154:13)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at RequestHandler.push (/home/bas/test/robot-trip/code/node_modules/discord.js/src/rest/RequestHandler.js:39:14)
    at Message.crosspost (/home/bas/test/robot-trip/code/node_modules/discord.js/src/structures/Message.js:487:5)
[ERROR] 12:10:15 DiscordAPIError: Missing Access

package-lock.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions