"The application did not respond"

I don't understand what is wrong. I have followed what https://discordjs.guide/ says, and it doesn't work. I have searched for help but nothing relevant.
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
No description
20 Replies
d.js toolkit
d.js toolkit•9mo ago
- What's your exact discord.js npm list discord.js and node node -v version? - Not a discord.js issue? Check out #other-js-ts. - Consider reading #how-to-get-help to improve your question! - Explain what exactly your issue is. - Post the full error stack trace, not just the top part! - Show your code! - Issue solved? Press the button!
Mark
Mark•9mo ago
show your code for the ping command
🖥
🖥OP•9mo ago
node version: 22.3.0 discord.js version: 14.15.3 and my code is config.json { "token": "my-token", "clientId": "my_client", "guildId": "my_guild" }
🖥
🖥OP•9mo ago
index.js
🖥
🖥OP•9mo ago
package.json
🖥
🖥OP•9mo ago
deploy-commands.js
🖥
🖥OP•9mo ago
ping.js
🖥
🖥OP•9mo ago
thats it @Mark @d.js toolkit
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
🖥
🖥OP•9mo ago
nope just "the application did not respond" says it was successful ill send
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
🖥
🖥OP•9mo ago
yes
🖥
🖥OP•9mo ago
No description
🖥
🖥OP•9mo ago
@rmHawk765
Unknown User
Unknown User•9mo ago
Message Not Public
Sign In & Join Server To View
🖥
🖥OP•9mo ago
bruh thats what the website said to do to run it so what should i do? nvm its fine
espiroaka
espiroaka•9mo ago
node index.js
Firecrackled
Firecrackled•7mo ago
Sorry for reviving an old thread, figured it would be useful for anyone who happened upon it like it was for me, but everytime you update the "node deploy-commands.js" do you need to also update the "node index.js" or no?
Mark
Mark•7mo ago
Not if you only have code changes in your command data
Fede
Fede•7mo ago
Command deployment is only to tell discord the commands to show on the slash command recommendation menu. To actually make it work you need to run the bot, and wait for the interactionCreate event and then handle the interaction to run the respective execute function

Did you find this page helpful?