Set bot status from active mode on startup
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
5
bot.py
5
bot.py
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user