Slash command registered, but not displaying.
I've got a test slash command that is getting registered, but not displaying in Discord.
Solution:Jump to solution
Can you try configuring the default behaviour to BulkOverwrite? https://sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/advanced/setting-global-behavior-when-not-identical
Sapphire Framework
Configuring the global behavior when commands are not identical | S...
Configuring the global behavior is easy! You just need to import the
8 Replies
I have another slash command (which is a bunch of subcommands) that is registered just fine and showing up.
Are both commands named "test"?
No, the other is named 'sal'.
Solution
Can you try configuring the default behaviour to BulkOverwrite? https://sapphirejs.dev/docs/Guide/commands/application-commands/application-command-registry/advanced/setting-global-behavior-when-not-identical
Sapphire Framework
Configuring the global behavior when commands are not identical | S...
Configuring the global behavior is easy! You just need to import the
On a general note, I wouldn't recommend naming a command anything other than your final name if you're not also bulk overwrite or keeping track of idHints because then you're going to have to manually remove the old names when you're done.
I set it to BulkOverwrite. I still don't see the command in Discord.
That's fair. I only created the test command because my AutocompleteHandler isn't working and I wanted to make sure it had nothing to do with the Subcommands.
Could it be the name? I changed the name from 'test' to 'new-dummy-command' and that one showed up. When I tried to set it back to 'test' the 'new-dummy-command' still shows up for some reason, even after a few minutes.
Nevermind, I guess it takes longer than a few minutes for discord to update the commands? I've driven to work and now the /test command shows up.