Commands

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

Did you find this page helpful?