feat: Update cogs loading logic to include VoiceGatewayCog and refine loading conditions

This commit is contained in:
Slipstream 2025-05-30 21:39:13 -06:00
parent eda9169ce9
commit f463066bb9
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD
2 changed files with 3 additions and 2 deletions

View File

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

View File

@ -59,7 +59,7 @@ async def main(minimal_prompt: bool = False):
async with bot:
# List of cogs to load
# Updated path for the refactored GurtCog
cogs = ["gurt.cog"]#, "cogs.profile_updater_cog"]
cogs = ["gurt.cog", "cogs.VoiceGatewayCog"]#, "cogs.profile_updater_cog"]
for cog in cogs:
try:
await bot.load_extension(cog)