Commands `status-rewards` and `status-rewards-admin` don't register on Discord

I believe everything is done correctly, have the registerApplicationCommands method implemented. Both show up in debug logs that they are registered, yet don't show up on discord.
No description
No description
No description
9 Replies
Seren_Modz 21
Seren_Modz 213w ago
reload your discord client and then see if they show. discord caches application commands in your client, thus do not immediately get displayed
Tejas
TejasOP2w ago
Already tried that! still doesnt work
MC Princess
MC Princess2w ago
it could be the "-" in the file name.
Tejas
TejasOP2w ago
@mallusrgreat am not sure this could be a reason but try this once
Favna
Favna2w ago
What Aino said is correct. Commands cannot have dashes in the name. Interestingly the data validator from @discordjs/builders should have errored about this, unless you disabled the validation from it nvm
alqm
alqm2w ago
I swear you can...
Favna
Favna2w ago
type a / here and tell me how many commands you see with dashes in the names wait wait uh hold on lmao you're right im dumb
Favna
Favna2w ago
sorrryyyyyy
No description
Favna
Favna2w ago
can you try using the discordjs methods to view the list of your registered commands (client.application.commands) or https://slash-commands-gui.androz2091.fr to verify the commands are really there?
Slash Commands GUI
Graphical User Interface to explore and edit your bot's slash commands!

Did you find this page helpful?