Set bot status from active mode on startup

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-23 09:27:34 -05:00
parent b050c6f844
commit 0feef708ea

5
bot.py
View File

@@ -142,8 +142,9 @@ class BCSBot(commands.Bot):
async def on_ready(self):
logger.info("Logged in as %s (ID: %d)", self.user, self.user.id)
# Set status
status_text = self.config.get("bot", {}).get(
# Set status based on active mode
mode_config = self.get_mode_config()
status_text = mode_config.get("description") or self.config.get("bot", {}).get(
"status", "Monitoring vibes..."
)
await self.change_presence(