discord/discord-example-app

Unauthorized issue

LightC0d3r opened this issue · 2 comments

When I ran npm run register it said 401
Error: {"message":"401: Unauthorized","code":0}
at DiscordRequest (file:///C:/Users/kbrow/Downloads/discord-example-app/utils.js:36:11)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async InstallGlobalCommands (file:///C:/Users/kbrow/Downloads/discord-example-app/utils.js:48:5)
when I put everything in correctly in the .env file

Is the bot token or application id correct? Make sure these are correct.

Found out that I had to take away the symbols that have the indicators inside of them I'm stupid