Overview
Run safety, moderation, automation, and community features across your Discord servers from one self-hosted container that you manage in your browser.
What Is This?
Stonker Bot for Discord is a self-hosted, all-purpose Discord bot for any kind of community. You run it on your own machine with Docker and manage it from a control panel in your browser.
Each feature has its own settings page and its own on and off switch. Features you leave off don't run and don't ask Discord for extra access.
Why Use Stonker Bot for Discord?
- Combines 19 features in one bot, so you don't have to coordinate several bots with separate permissions and settings.
- Requests only the Discord access your enabled features need, so the bot doesn't receive message or member data it won't use.
- Encrypts the credentials you enter in the control panel, so the Bot TokenThe bot's password for Discord, from the Developer Portal, API keys, and webhook URLs are never stored as plain text.
- Runs in one container on your own hardware, so the database and logs stay with you.
- Exports selected configuration and imports export filesA JSON backup of your settings, secrets in plain text or the legacy botThe old v3.4.3 bot that ran from a config.json file's
config.json, so you can move or restore settings without retyping them.
What's Included
| Category | Features |
|---|---|
| Safety | Anti-Raid, Impersonator Alerts, Scammer Alerts, Suspicious Words |
| Moderation | Regex Rules, Affiliate Cleanup, Server Tools, Audit Notifications, Role Synchronization, Permission Toggles |
| Automation | Thread Bumping, Message Copiers, Message Proxies, Scheduled Posts |
| Community | Auto Replies, Event Broadcasts, Role Messages |
| Integrations | RSS Feeds |
| Web | Web Applications |
How It Runs
- One container — Docker runs the bot, the control panel, a background workerBackground service that runs schedules and deliveries, and a PostgreSQL database together.
- Browser control panel — You create the owner account with the setup codeOne-time code from the container log that creates the Owner from the container log, then paste the Bot TokenThe bot's password for Discord, from the Developer Portal, start the bot, and configure features at
http://<docker-host>:22604/by default. - Accounts for your team — Each person signs in with their own account and panel roleAn account's level: Owner, Administrator, Operator, or Viewer, and scripts call the API with an access tokenA key that lets your scripts call the panel's API as you.
- Alerts about the bot — The Notifications page sends an alert to ntfy, Telegram, email, or another service when the bot can't sign in, drops offline, or a job gives up.
- Separate bot connection — Stopping or restarting the bot leaves the control panel and the database running.
- Members use Discord — Moderators run slash commandsA /command members type in Discord's message box and read the bot's alerts, and members see its posts and replies in your channels.
Current Status
Stonker Bot for Discord is published as a Docker image on Docker Hub and GitHub Container Registry, and can also be built from the source code.
One Discord application can serve multiple servers from the same installation. Feature settings, encrypted integration secrets, event handlers, and slash commandsA /command members type in Discord's message box remain scoped to each server.
Next Steps
- Requirements — Check what you need before you install.
- Installation — Start the container with
docker run, or build it with Compose. - First-Run Setup — Create the owner account, connect the bot, and add your server.
- Export and Import — Export selected configuration, import an export fileA JSON backup of your settings, secrets in plain text, or bring in an older
config.jsonfrom Backup. - Legacy Migration — Review what the older
config.jsonsource replaces, keeps off, and skips.