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 toolkit4mo 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
Rex4mo 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
YourFriend4mo 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
Rex4mo 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
YourFriend4mo 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
Rex4mo ago
Yeah.
YourFriend
YourFriend4mo 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
chewie4mo ago
Intendation doesn't matter in javascript.
Rex
Rex4mo ago
I don't have them.
chewie
chewie4mo ago
You are not replying to your slash command. Thats why its saying that the application didn't respond.
Rex
Rex4mo ago
How do i do it?
Rex
Rex4mo ago
But does it work for quality control as well?
chewie
chewie4mo ago
I'm talking about that command
Rex
Rex4mo ago
Its talking about ping not quality check:
No description
chewie
chewie4mo ago
thats an example how to use it...
Rex
Rex4mo 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
chewie4mo 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
Rex4mo ago
Okay but like what do i do? async execute(interaction) { await interaction.reply add this?
chewie
chewie4mo ago
Thats one possibiltiy
Rex
Rex4mo ago
Okay thanks.