No description
- JavaScript 92.1%
- EJS 4.9%
- CSS 2.2%
- HTML 0.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
A single 504 from Telegram at boot left the Telegram side off until restart. - Add retryWithBackoff to launchBackoff; 401 still fails immediately - Use it for the main bot and bridge bot getMe calls |
||
| .github/ISSUE_TEMPLATE | ||
| api | ||
| assets | ||
| commands | ||
| docs | ||
| events | ||
| frontend | ||
| handlers/interactions | ||
| scripts | ||
| telegram | ||
| tests | ||
| utils | ||
| .example_command | ||
| .gitignore | ||
| delete-commands.js | ||
| deploy-commands.js | ||
| eslint.config.js | ||
| example.config.json | ||
| index.js | ||
| messages.json | ||
| package-lock.json | ||
| package.json | ||
| README.md | ||
BeamDefender
A multi-platform moderation, tipping, and blockchain-bridge bot for the Beam community — running on both Discord and Telegram with a web-based admin dashboard.
Features
Wallet & Tipping
- Built-in Beam wallet per user — create addresses, deposit, withdraw, and check balances
/tipand/atip(anonymous) to send BEAM or any confidential asset to other users- Red envelopes — drop a claimable pot for others to grab
- React-to-tip — tip a user by reacting to their message with an emoji
- Price, halving, ATH/ATL, and asset info commands
Moderation
- Spam detection — SimHash-based content similarity scoring with configurable auto-ban per platform
- Spam whitelist — exempt trusted users from the detector
- Imposter scan — flags Telegram users impersonating admins
- Warnings — warn users with automatic 10-minute timeout
- Mod notes — attach internal notes to users for mod context
- Delete logger — log deleted messages to a staff channel with quick-action buttons (Mark as Spam / Ban)
- Report — users can report messages via slash command or right-click context menu
- Slowmode — set channel slowmode from a command
- User rate limiting — detect message floods
Verification
- Three configurable modes: off, always-on captcha, or join-only captcha
- Works on both Discord and Telegram with per-entity settings
Discord ↔ Telegram Bridge
- Bidirectional message relay — text, media, polls, stickers
- Synced edits and deletes across platforms
- Cross-platform spam checks on bridged messages
- Per-channel bridge configuration via the dashboard
Tickets
- Ticket system with a setup embed, create button, and auto-cleanup of stale tickets
Account Linking
- Link Discord and Telegram accounts together
- Linked users share wallet, ban status, and mod notes
- BAR/dApp API for external wallet-signature-based linking
Admin Dashboard
- Web UI for managing users, bans, spam records, bridges, verification, and controlboard settings
- Charts and analytics
- RBAC with
viewer,admin, anddevroles - Audit log of admin actions
- Login approval workflow
Controlboard
All major modules are feature-flagged and can be toggled at runtime without restarting.
Support
For support, open an issue or join our Telegram.