From 60dec51b906d06a79f29be46929a64e9b6fabdb0 Mon Sep 17 00:00:00 2001 From: Slipstream Date: Thu, 8 May 2025 18:59:37 -0600 Subject: [PATCH] a --- main.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/main.py b/main.py index 3db03a2..3425a9a 100644 --- a/main.py +++ b/main.py @@ -321,12 +321,6 @@ 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. -try: - from cogs import settings_cog -except ImportError: - log.error("Could not import settings_cog.py for CORE_COGS definition. Cog checks might fail.") - settings_cog = None # Define as None to avoid NameError later - class CogDisabledError(commands.CheckFailure): """Custom exception for disabled cogs.""" def __init__(self, cog_name):