futaba
futaba copied to clipboard
Allow servers/guilds to disable cogs
Cogs should be able to be disabled by a admin+ of a server/guild. Disabling a cog will stop all commands working for that server/guild only until reenabled.
This can be done on a per cog basis by adding a __local_check
function to check if the cog has been disabled in server/guild. If the cog has been disabled it should raise a custom error telling the user that the cog has been disabled
It will need a mandatory cog to allow admins to enable/disable cogs and list the cogs displaying the status of them