Fix command loader skip non-cog files

This commit is contained in:
Codex 2025-06-06 19:12:51 +00:00 committed by Slipstream
parent 069c46390e
commit 206322f08e
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -25,6 +25,7 @@ async def load_all_cogs(bot: commands.Bot, skip_cogs: Optional[List[str]] = None
and not filename.startswith("profile_updater") and not filename.startswith("profile_updater")
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.startswith("femdom") and not filename.startswith("femdom")
and not filename == "VoiceGatewayCog.py" and not filename == "VoiceGatewayCog.py"
): ):