slash command deploy
I think the function for deploying slash commands is not working properly. I want to know what the issue is.
14 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!asd
* show your code
it was too long...
and what part about it does not work
It also should not be exported
Its supposed to be a single file you run once, not every time your bot starts
The logs indicate that the reload was successful, but in the guild, the new slash commands are not updated, and the existing commands are not refreshed.
first of all did you reload your client
What does it mean to reload the client? Are you asking if the bot has been restarted?
Your discord client
If you're asking whether I restarted main.js, yes, I did restart it.
No
Your discord client
The one you are using to send messages here
Ah, got it. I'll try it and get back to you.
Everything is working perfectly, my friend. Thank you so much, bro! Your help shines brighter than a thousand suns. I truly appreciate it from the bottom of my heart—you’re a legend among legends!
You're welcome! Glad it works!