Add optional startup announcement feature

Bot can now send a one-time announcement to all configured channels when it starts.

Configuration:
- Set STARTUP_ANNOUNCEMENT in .env with your message
- Leave empty to disable announcements
- Prevents duplicate announcements on reconnects

Usage example:
STARTUP_ANNOUNCEMENT=Bot updated! New features: colored prices and charts

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Michael Simard
2025-12-03 22:32:32 -06:00
parent 76516a4e73
commit 388430780d
4 changed files with 31 additions and 0 deletions

View File

@@ -1,6 +1,7 @@
# Discord Configuration
DISCORD_TOKEN=your_discord_bot_token_here
CHANNEL_ID=your_channel_id_here,optional_second_channel_id
STARTUP_ANNOUNCEMENT=
# Bot Configuration
COMMAND_PREFIX=!