Ignore aimod_cog in auto loader
This commit is contained in:
parent
42e8435d9d
commit
ed5b8c8487
@ -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"
|
||||||
):
|
):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user