v1.2.5 — Discord Bot Integration
🤖 Discord Bot Integration
This release adds a full Discord bot that pairs with your miner and delivers rich notifications across multiple Discord servers.
Invite the bot: https://discord.com/oauth2/authorize?client_id=1513555081218359506&permissions=84992&integration_type=0&scope=bot
✨ New Features
Discord Bot
- Slash commands:
/link,/unlink,/setchannel drops,/setchannel points,/dashboard,/devpanel - Drop notifications — one embed per drop with reward thumbnail, game, drop name, reward name, account name in footer
- Channel Points notifications — fires on gains ≥ 25 pts with channel, amount, balance, account name
- Multi-server support — run
/setchannelin multiple Discord servers; all receive notifications simultaneously - Live dashboard embed — auto-updates on state change; owner-only control buttons (Pause/Resume, Switch Mode, Campaigns, Last Drops, Refresh)
/devpanel(dev-restricted) — global stats embed with total drops, today drops, channel points, paired accounts; "Post Live Stats Here" auto-updates every 30 min
Web UI
- Settings → Discord Bot shows all configured channels with name, server, and individual Remove buttons
- Quick Controls: CSS Grid 2×2 layout — all four buttons identical size
🐛 Bug Fixes
get_channel()→fetch_channel()fallback: notifications were silently dropped when Discord channel not in cachelast_drop_countnow only updated after successful send (was updated before, causing drops to be missed)- Auto-claim fix: generates synthetic
claim_idfor drops that reach 100% but miss the WebSocket notification /setchannelappends to channel list instead of overwriting — true multi-server support
📋 Setup
- Invite the bot to your server using the link above
- Open your miner web UI → Settings → Discord Bot → copy the pairing code
- In Discord run
/link <your-miner-url> <code> - Run
/setchannel dropsand/setchannel pointsin the channels you want notifications - Run
/dashboardto post a live-updating stats embed with control buttons