Application did not Respond!
I am hosting a bot that can send image with ping like quality control but everytime i run a code the bot says application did not respond!
21 Replies
- 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!
- ✅
Marked as resolved by staffMy discord.js is 14.12.1
Node v. 20.5.1
Here is my code:
Quality-control.js:
https://sourceb.in/URRfxAnv8c
index.js;
https://sourceb.in/dMNgHpfcmi
Qualityschema.js:
https://sourceb.in/ERHxKtFGGC
I have other codes for other commands but they also does not work.
Same issue application did not respond.
I also had the problem yesterday or before. You should first check for indentations and right references of variables, or so and so
That helped me
I found it:
In index.js, there is no indentation for the stuff inside the else block around line 87
Mind helping me please?
https://sourceb.in/yeoq97odXW
Index.js
https://sourceb.in/4radnPPUW7:
qualitycontrol.js
Do i need a schema for everything i use?
I don't think so,
Please don't trust this, I have only some coding experience (for discord)
You should try checking for it in discord.js guide
Yeah.
But the solution I gave before worked for me, I had the same type of problem in index.js
Try that first, if it doesn't work, we should se what we can do
Intendation doesn't matter in javascript.
I don't have them.
You are not replying to your slash command.
Thats why its saying that the application didn't respond.
How do i do it?
But does it work for quality control as well?
I'm talking about that command
Its talking about ping not quality check:
thats an example how to use it...
If i want it to send a image with ping i will not say editreply ping. I know but i don't understand. Please help me sir.
I can't help you more than what I just said. You have to reply to the interaction if you dont want discord to complain.
Okay but like what do i do? async execute(interaction) {
await interaction.reply add this?
Thats one possibiltiy
Okay thanks.