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