testtrttttttt
This commit is contained in:
parent
74753e3b4b
commit
e51b6fb715
2
main.py
2
main.py
@ -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):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user