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
alfieOP2y ago
Yeah, is there a way to remove the global version of the command?
Solution
Favna
Favna2y ago
Use the discordjs methods to unregister commands
alfie
alfieOP2y ago
will sapphire ever support this?
vladdy
vladdy2y ago
We plan on adding the option of letting sapphire handle the entirety of the command registration, which would solve this
alfie
alfieOP2y ago
👍 ty
Want results from more Discord servers?
Add your server