feat: Update cogs loading logic to include VoiceGatewayCog and refine loading conditions
This commit is contained in:
parent
eda9169ce9
commit
f463066bb9
@ -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...")
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user