This commit is contained in:
Slipstream 2025-05-08 18:48:42 -06:00
parent fc51340f38
commit b96fbc2987
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -322,7 +322,7 @@ async def on_app_command_error(interaction, error):
# 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 discordbot.cogs import settings_cog # Import the cog itself
from cogs import settings_cog # Import the cog itself
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