cogs/color/assignment.py
def cog_check(self, ctx):
        """Disable all commands in cog if heavy command is running."""
        if ctx.guild.id in cfg.heavy_command_active:
            raise CommandError("A command is running, please wait")
        return True
Disable all commands in cog if heavy command is running.
Disable all commands in cog if heavy command is running.
Disable all commands in cog if heavy command is running .
def cog_check(self, ctx):
        if ctx.guild.id in cfg.heavy_command_active:
            raise CommandError("A command is running, please wait")
        return True
def cog_check ( self , ctx ) : if ctx . guild . id in cfg . heavy_command_active : raise CommandError ( "A command is running, please wait" ) return True
Disable all commands in cog if heavy command is running.
Disable all commands in cog if heavy command is running .
"""Disable all commands in cog if heavy command is running."""
self
ctx