Closed RKochenderfer closed 1 year ago
Seeing this log after running !deploy in guild to have commands added to:
{
"_id": {
"$oid": "64ad9afa68bbb74f8fd1f441"
},
"level": 50,
"time": {
"$date": "2023-07-11T18:10:02.621Z"
},
"pid": 1,
"hostname": "e5349b47f663",
"err": {
"type": "DiscordAPIError",
"message": "Unknown application command",
"stack": "DiscordAPIError[10063]: Unknown application command\n at handleErrors (/app/node_modules/.pnpm/@discordjs+rest@1.7.1/node_modules/@discordjs/rest/dist/index.js:640:13)\n at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n at async SequentialHandler.runRequest (/app/node_modules/.pnpm/@discordjs+rest@1.7.1/node_modules/@discordjs/rest/dist/index.js:1021:23)\n at async SequentialHandler.queueRequest (/app/node_modules/.pnpm/@discordjs+rest@1.7.1/node_modules/@discordjs/rest/dist/index.js:862:14)\n at async REST.request (/app/node_modules/.pnpm/@discordjs+rest@1.7.1/node_modules/@discordjs/rest/dist/index.js:1387:22)\n at async updateCommands (/app/build/command-updater.js:74:9)\n at async Client.onMessageCreate (/app/build/listeners.js:19:9)",
"requestBody": {},
"rawError": {
"type": "Object",
"message": "Unknown application command",
"stack": "",
"code": 10063
},
"code": 10063,
"status": 404,
"method": "DELETE",
"url": "https://discord.com/api/v10/applications/758113760761479189/guilds/784580416610631761/commands/1034827085463695435"
},
"msg": "Unknown application command"
}
Looks like the error could be related to the command deployer method.
This is still not working when deployed to the server. The commands are now refreshing properly but still getting unregistered command issues when attempting to use interactions.
This appeared to be a server issue. Restarting the computer fixed the issue.
Error:
This appears to be happening after deploying the commands. Duplicated this on server and local machine.
Roll command still works when attempting on dev discord server.