Slash Commands were showing just fine, then they disappeared after a server restart
Hi, I was updating my bot, the commands were showings in the serv, and all of sudden after a restart of the bot, they stop showing, I tried to invite my bot in another server and only two commands are showing, yet in the console of the server I got no message errors and its showing me all the commands are loaded.
7 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!
here is my commands handler juste in case
normally all commands were showing just fine in the main server, then they disappeared
it is indeed, and no, i was just restarting for testing new changes to an already working commands, all the commands disappeared when i did a restart just to add a console.log for a checking, sorry about my bad understanding about english btw idk wdym about de fiches properties
btw i thinks i can just remove the other server stuff, i don't need it anymore
if it will helps
probably because there is json stuff around i guess
i will try yea
tried this, still not working
all commands are showing as up in the console btw
yes
i will check
it's telling the bot as no commands
i did it like 5 time lmao
the weirdest things that put me in incomprehension, is that it was working just fine, and then it disappeared
ig im just stuck and i cant find why :x
yet even after all that the two tickets commands are still showing and working in the other serv
did a console.log to look at it
thats what we have in the array for each commands
discord.js Guide
Imagine a guide... that explores the many possibilities for your discord.js bot.
i tried to remake this one way of commands handler and it doesnt works too
after some console.log it looks like this part didn't works
Update i tried to remove everything i did
come back to my original bot
create a new bot in the discord portal
and just got back the commands
like wtf
the commands disappeared again :Thonk:
could you show your current full deploy script?