This commit is contained in:
Slipstream 2025-04-26 08:10:51 -06:00
parent 817e405347
commit a7400a79d3
Signed by: slipstream
GPG Key ID: 13E498CE010AC6FD

View File

@ -54,14 +54,14 @@ async def main():
try:
async with bot:
# Load the gurt cog and profile updater cog
# List of cogs to load
cogs = ["cogs.gurt_cog", "cogs.profile_updater_cog"]
for cog in cogs:
try:
await bot.load_extension("cogs.gurt_cog")
print("Successfully loaded gurt_cog")
await bot.load_extension("cogs.profile_updater_cog")
print("Successfully loaded profile_updater_cog")
await bot.load_extension(cog)
print(f"Successfully loaded {cog}")
except Exception as e:
print(f"Error loading cog: {e}")
print(f"Error loading {cog}: {e}")
import traceback
traceback.print_exc()