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