J
J
DIAdiscord.js - Imagine an app
Created by J on 4/27/2024 in #djs-questions
Slash command Duplicate error!!
yeah i check and i think i just going crazy and not checking the recent command that i made ty for reminding me
5 replies
DIAdiscord.js - Imagine an app
Created by J on 4/27/2024 in #djs-questions
Slash command Duplicate error!!
Error:
DiscordAPIError[50035]: Invalid Form Body
1[APPLICATION_COMMANDS_DUPLICATE_NAME]: Application command names must be unique
at handleErrors (/home/container/node_modules/@discordjs/rest/dist/index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:1120:23)
at async SequentialHandler.queueRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:953:14)
at async _REST.request (/home/container/node_modules/@discordjs/rest/dist/index.js:1266:22)
at async /home/container/deploy-commands.js:38:16 {
requestBody: {
files: undefined,
json: [ [Object], [Object], [Object], [Object], [Object] ]
},
rawError: {
message: 'Invalid Form Body',
code: 50035,
errors: { '1': [Object] }
},
code: 50035,
status: 400,
method: 'PUT',
url: 'https://discord.com/api/v10/applications/1233882439420739647/commands'
}
DiscordAPIError[50035]: Invalid Form Body
1[APPLICATION_COMMANDS_DUPLICATE_NAME]: Application command names must be unique
at handleErrors (/home/container/node_modules/@discordjs/rest/dist/index.js:722:13)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SequentialHandler.runRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:1120:23)
at async SequentialHandler.queueRequest (/home/container/node_modules/@discordjs/rest/dist/index.js:953:14)
at async _REST.request (/home/container/node_modules/@discordjs/rest/dist/index.js:1266:22)
at async /home/container/deploy-commands.js:38:16 {
requestBody: {
files: undefined,
json: [ [Object], [Object], [Object], [Object], [Object] ]
},
rawError: {
message: 'Invalid Form Body',
code: 50035,
errors: { '1': [Object] }
},
code: 50035,
status: 400,
method: 'PUT',
url: 'https://discord.com/api/v10/applications/1233882439420739647/commands'
}
5 replies