Command Modules
does sapphire have a command modules feature where commands can be grouped into modules that can be disabled or enabled on a per-guild basis?
8 Replies
no, you will have to apply your own logic with databases yourself
see https://sapphirejs.dev/docs/Guide/additional-information/implementing-a-discordpy-like-cog-system
Sapphire Framework
Implementing a discord.py like Cog system | Sapphire
Developer who come from the Python ecosystem may be familiar with the "Cog ↗️" system that discord.py has
that solves half the issue, yes
If you want it to be able to be enabled and disabled on a per guild basis, this is the easiest option
https://github.com/KBot-discord/plugins/tree/main/packages/modules#readme
GitHub
plugins/packages/modules at main · KBot-discord/plugins
Sapphire plugins for KBot. Contribute to KBot-discord/plugins development by creating an account on GitHub.
i wouldve combined this with preconditions tbh
thanks, i tried this but it keeps giving errors or not working
that is a third party plugin, you might have to join kbot's server (if exists) for support or open github issue there
i did, couldn't solve the issue so ill just try to make something similar