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!
No description
21 Replies
d.js toolkit
d.js toolkit7mo 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! - Marked as resolved by staff
Rex
RexOP7mo ago
My 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.
YourFriend
YourFriend7mo ago
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
Rex
RexOP7mo ago
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?
YourFriend
YourFriend7mo ago
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
Rex
RexOP7mo ago
Yeah.
YourFriend
YourFriend7mo ago
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
chewie
chewie7mo ago
Intendation doesn't matter in javascript.
Rex
RexOP7mo ago
I don't have them.
chewie
chewie7mo ago
You are not replying to your slash command. Thats why its saying that the application didn't respond.
Rex
RexOP7mo ago
How do i do it?
Rex
RexOP7mo ago
But does it work for quality control as well?
chewie
chewie7mo ago
I'm talking about that command
Rex
RexOP7mo ago
Its talking about ping not quality check:
No description
chewie
chewie7mo ago
thats an example how to use it...
Rex
RexOP7mo ago
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.
chewie
chewie7mo ago
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.
Rex
RexOP7mo ago
Okay but like what do i do? async execute(interaction) { await interaction.reply add this?
chewie
chewie7mo ago
Thats one possibiltiy
Rex
RexOP7mo ago
Okay thanks.
Want results from more Discord servers?
Add your server