Ignore aimod_cog in auto loader

This commit is contained in:
Codex 2025-06-06 19:19:50 +00:00 committed by Slipstream
parent 42e8435d9d
commit ed5b8c8487
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -26,6 +26,7 @@ async def load_all_cogs(bot: commands.Bot, skip_cogs: Optional[List[str]] = None
and not filename.startswith("neru") and not filename.startswith("neru")
and not filename.endswith("_base_cog.py") and not filename.endswith("_base_cog.py")
and not filename.endswith("_config.py") and not filename.endswith("_config.py")
and not filename == "aimod_cog.py" # Avoid double-loading via aimod.py
and not filename.startswith("femdom") and not filename.startswith("femdom")
and not filename == "VoiceGatewayCog.py" and not filename == "VoiceGatewayCog.py"
): ):