Jitty2Litty
Jitty2Litty
RRailway
Created by Jitty2Litty on 7/12/2023 in #✋|help
error when deploying discord bot
DiscordAPIError[20012]: You are not authorized to perform this action on this application
at handleErrors (/app/node_modules/@discordjs/rest/dist/index.js:640:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.runRequest (/app/node_modules/@discordjs/rest/dist/index.js:1021:23)
at async SequentialHandler.queueRequest (/app/node_modules/@discordjs/rest/dist/index.js:862:14)
at async REST.request (/app/node_modules/@discordjs/rest/dist/index.js:1387:22)
at async /app/src/functions/handelCommands.js:28:17 {
requestBody: {
files: undefined,
json: [ [Object], [Object], [Object], [Object], [Object] ]
},
rawError: {
message: 'You are not authorized to perform this action on this application',
code: 20012
},
code: 20012,
status: 403,
method: 'PUT',
url: 'https://discord.com/api/v9/applications/1127094913746612304/commands';
}
DiscordAPIError[20012]: You are not authorized to perform this action on this application
at handleErrors (/app/node_modules/@discordjs/rest/dist/index.js:640:13)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async SequentialHandler.runRequest (/app/node_modules/@discordjs/rest/dist/index.js:1021:23)
at async SequentialHandler.queueRequest (/app/node_modules/@discordjs/rest/dist/index.js:862:14)
at async REST.request (/app/node_modules/@discordjs/rest/dist/index.js:1387:22)
at async /app/src/functions/handelCommands.js:28:17 {
requestBody: {
files: undefined,
json: [ [Object], [Object], [Object], [Object], [Object] ]
},
rawError: {
message: 'You are not authorized to perform this action on this application',
code: 20012
},
code: 20012,
status: 403,
method: 'PUT',
url: 'https://discord.com/api/v9/applications/1127094913746612304/commands';
}
ive made a token variable. am i supposed to make another?
29 replies