futaba icon indicating copy to clipboard operation
futaba copied to clipboard

Allow servers/guilds to disable cogs

Open Ma-wa-re opened this issue 6 years ago • 2 comments

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

Ma-wa-re avatar Oct 11 '18 02:10 Ma-wa-re