Commands
my commands for some reason will not delete from my server
19 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!
- ✅
Marked as resolved by OPIf it's already 0, that means there are none, refresh your discord client
it is registered with my test discord bot, in my test server
tried that 3 times
They might be global commands?
ive tried doing ctrl + r and completely closing the discord client
nope i get the same output for global aswell
So global is also 0 when you fetch?
yep
Hmm! Refreshing your client should work though, can you try re inviting the bot? Then refresh again once you do
okay
show code
count and fetched still showing as 0 with the commands still showing in discord,
guildId:
959693430227894292
is my test servers IDand you've manually checked your global commands, outside of your extended client method?
just in the else statement for registerCommands which is what handles the global comands for me
manually check your global commands by eval or something
if i run my status command it shows i have 34 commands registered
It may very well be global commands then if it's working fully
Please check global commands as Mark said
i figured it out, thank you, i was using the wrong bot token