Refresh Commands

Is there a way to refresh all commands? I initially had some certain commands global, and then after expanding the bot, reduced them to guild-specific commands, although this has now caused duplicated commands, as seen in the screenshot. Is there a way to somehow force a refresh of all commands to resolve this? https://i.imgur.com/qGNrDgR.png
Imgur
Solution:
Use the discordjs methods to unregister commands
Jump to solution
6 Replies
⸸⛧Stealth⛧⸸
Global and guild commands are always separate no matter what
alfie
alfieOP3y ago
Yeah, is there a way to remove the global version of the command?
Solution
Favna
Favna3y ago
Use the discordjs methods to unregister commands
alfie
alfieOP3y ago
will sapphire ever support this?
vladdy
vladdy3y ago
We plan on adding the option of letting sapphire handle the entirety of the command registration, which would solve this
alfie
alfieOP3y ago
👍 ty
Want results from more Discord servers?
Add your server