Skip to content

v1.2.5 — Discord Bot Integration

Choose a tag to compare

@SimpliAj SimpliAj released this 08 Jun 18:16
· 123 commits to main since this release

🤖 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 /setchannel in 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 cache
  • last_drop_count now only updated after successful send (was updated before, causing drops to be missed)
  • Auto-claim fix: generates synthetic claim_id for drops that reach 100% but miss the WebSocket notification
  • /setchannel appends to channel list instead of overwriting — true multi-server support

📋 Setup

  1. Invite the bot to your server using the link above
  2. Open your miner web UI → Settings → Discord Bot → copy the pairing code
  3. In Discord run /link <your-miner-url> <code>
  4. Run /setchannel drops and /setchannel points in the channels you want notifications
  5. Run /dashboard to post a live-updating stats embed with control buttons