fix: Exclude femdom cogs from loading process in load_all_cogs function
This commit is contained in:
parent
5af6dff29f
commit
183d507e29
@ -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...")
|
||||
|
Loading…
x
Reference in New Issue
Block a user