fix: Exclude femdom cogs from loading process in load_all_cogs function

This commit is contained in:
Slipstream 2025-05-18 22:47:28 -06:00
parent 5af6dff29f
commit 183d507e29
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -21,7 +21,8 @@ async def load_all_cogs(bot: commands.Bot, skip_cogs: Optional[List[str]] = None
not filename.startswith("__") and \
not filename.startswith("gurt") and \
not filename.startswith("profile_updater") and \
not filename.endswith("_base_cog.py"): # Skip base cogs
not filename.endswith("_base_cog.py") and \
not filename.startswith("femdom"):
# Special check for welcome_cog.py
if filename == "welcome_cog.py":
print(f"Found welcome_cog.py, attempting to load it...")