This commit is contained in:
Slipstream 2025-05-08 19:08:11 -06:00
parent 30fa93e5d4
commit 8a59fb38d2
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. # 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. # 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): class CogDisabledError(commands.CheckFailure):
"""Custom exception for disabled cogs.""" """Custom exception for disabled cogs."""
def __init__(self, cog_name): def __init__(self, cog_name):