Application didnt respond

When I start the bot with node index,js and after node deploy-commands.js no error, but when I type in the command in discord the application didnt answer. My codes: commands/ add.js https://sourceb.in/zfzAWmmtKk authorticketpermission.js https://sourceb.in/oQSFhFDXQ4 close.js https://sourceb.in/4qEvve4oWD help.js https://sourceb.in/WX9jIws7hF setup.js https://srcb.in/0OYqz7E5uq config.json (token, guildId, clientId) deploy-commands.js https://sourceb.in/zyLEjnTbzg index.js https://srcb.in/AWTlNrzI9O (other files and folders that doesnt matter)
7 Replies
d.js toolkit
d.js toolkit5mo 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 OP
Mark
Mark5mo ago
Add console.log()s to your interactionCreate listener to see where it's stopping
d.js docs
d.js docs5mo ago
discord.js includes multiple sub-packages, installing these separately can mess with internal code:
npm uninstall discord-api-types @discordjs/rest @discordjs/builders
yarn remove discord-api-types @discordjs/rest @discordjs/builders
pnpm remove discord-api-types @discordjs/rest @discordjs/builders
npm uninstall discord-api-types @discordjs/rest @discordjs/builders
yarn remove discord-api-types @discordjs/rest @discordjs/builders
pnpm remove discord-api-types @discordjs/rest @discordjs/builders
BMmarci1234
BMmarci1234OP5mo ago
Okay and how can I correct that?
d.js docs
d.js docs5mo ago
:guide: Creating Your Bot: Registering slash commands The command deployment script, to register your slash commands with Discord so they appear in the interface. read more
BMmarci1234
BMmarci1234OP5mo ago
And what if I just install the v13 version? But I don't really know the difference. So I don't know what to change properly on my code for it to work. I'll try.
d.js docs
d.js docs5mo ago
:guide: Additional Information: Updating from v13 to v14 read more
Want results from more Discord servers?
Add your server