WIP: #7/fix-disconnect #8

Draft
logan wants to merge 30 commits from #7/fix-disconnect into master
Showing only changes of commit 22abbbb2a8 - Show all commits

View File

@@ -208,7 +208,7 @@ class DiscordBotManager:
print("Starting bot...")
try:
# Run the bot in a separate task so we can control it
self._bot_task = asyncio.create_task(self.bot.run(self.token))
self._bot_task = asyncio.create_task(self.bot.start(self.token))
# Wait for the bot to connect (optional, useful for ensuring it's ready)
await self.bot.wait_until_ready()
print("Bot started and is ready.")