This commit is contained in:
Slipstream 2025-05-08 19:01:59 -06:00
parent 60dec51b90
commit 4f7cc362e5
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -320,7 +320,7 @@ async def on_app_command_error(interaction, error):
# Need to import SettingsCog to access CORE_COGS, or define CORE_COGS here.
# Let's import it, assuming it's safe to do so at the top level.
# If it causes circular imports, CORE_COGS needs to be defined elsewhere or passed differently.
# If it causes circular imports, CORE_COGS needs to be defined elsewhere or passed differently
class CogDisabledError(commands.CheckFailure):
"""Custom exception for disabled cogs."""
def __init__(self, cog_name):