This commit is contained in:
Slipstream 2025-05-08 19:05:18 -06:00
parent a63313127c
commit 30fa93e5d4
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):