- Implement a wrapper function that will check for every command if it is active or not, instead of only being able to enable & disable command categories as a whole. Although, the functionality to configure each category should not be removed. With this change, the
settings set command and database structure will also need to be updated.
- This check should work in such a way that the bot does not need to be restarted in order for settings to take effect. (Right now, modules are either added to the command tree or not on startup with
async def setup(bot):
if Settings.module_anime:
bot.tree.add_command(.....)
depending on if the setting is on or off in the database. If any setting changes during runtime, it will have no effect)
settings setcommand and database structure will also need to be updated.depending on if the setting is on or off in the database. If any setting changes during runtime, it will have no effect)