ԹՄՏԵɿՌ
ԹՄՏԵɿՌ
DIAdiscord.js - Imagine an app
Created by ԹՄՏԵɿՌ on 4/1/2025 in #djs-questions
Error deploying commands following the JS guide
I'm following the guide provided by Discord JS. When I run the command "node deploy-commands.js", I get an error message that prevents me from seeing slashCommands on my test server bot. PS F:\xxxxxxx> node deploy-commands.js Started refreshing 1 application (/) commands. DiscordAPIError[10002]: Unknown Application at handleErrors (F:\xxxxxxxx\node_modules@discordjs\rest\dist\index.js:727:13) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async SequentialHandler.runRequest (F:\xxxxxxxx\node_modules@discordjs\rest\dist\index.js:1128:23) at async SequentialHandler.queueRequest (F:\xxxxxxxx\node_modules@discordjs\rest\dist\index.js:959:14) at async _REST.request (F:\xxxxxxxx\node_modules@discordjs\rest\dist\index.js:1272:22) at async F:\xxxxxxxx\deploy-commands.js:36:16 { requestBody: { files: undefined, json: [ [Object] ] }, rawError: { message: 'Unknown Application', code: 10002 }, code: 10002, status: 404, method: 'PUT', url: 'https://discord.com/api/v10/applications/1352646125622136945/guilds/1352644742306988095/commands' } [email protected] node v22.14.0 Can someone help me ? Have a nice day
6 replies