The Discord bot behind support at VulnRadar. People send the bot a direct message, staff answer from a ticket channel, and closed tickets appear on the ModMail dashboard.
Made by RejectModders. Hosted by WSLATL.
- A user DMs the bot and picks a ticket type.
- The bot opens a channel in the "ModMail Tickets" category and pings staff.
- Messages go both ways: DMs into the channel, staff replies back to the user.
Every staff message in a ticket channel is sent to the user. To say
something only staff see, use
/modmail note: it posts a note card in the channel that is never sent to the user, is kept in no transcript or database and is removed when the ticket closes. /modmail close, or the Close ticket button on the ticket's first message, saves the transcript to PostgreSQL, sends the user a link and deletes the channel.
Discord offers /modmail to members with Manage Messages and /owner to
administrators. Give another role or member the commands under Server Settings,
Integrations, then the bot. The bot still checks who may use each one.
Owners also get /owner commands for a control panel, blacklists and
installing releases.
- Python 3.12
- uv
- PostgreSQL
- A Discord application with the Presence, Server Members and Message Content privileged intents turned on
uv sync --no-dev
cp .env.example .envFill in .env, set the IDs in core/config.py to match your server, then run
from the repository root:
uv run --no-dev main.pyRegistering commands on a new application and keeping the bot running are covered in deployment.
Secrets go in .env, which git ignores:
| Name | Meaning |
|---|---|
DEVELOPER_TOKEN |
Bot token |
DB_HOST, DB_PORT, DB_NAME |
Where PostgreSQL listens |
DB_USER, DB_PASSWORD |
Database login |
DB_SSL |
Optional. How the database connection is encrypted |
GITHUB_UPDATE_TOKEN |
Optional. Reads releases for updating |
Everything else is in core/config.py:
| Name | Meaning |
|---|---|
OWNER_IDS |
Users who may run /owner commands. Must not be empty |
MODMAIL_SERVER_ID |
The server where tickets live |
SYNC_GUILD_ID |
The server where /owner commands appear |
MODMAIL_CATEGORY_NAME |
Category for ticket channels |
MODMAIL_STAFF_PING |
Role pinged for a new ticket |
MODMAIL_STAFF_ROLE_IDS |
Roles that may close tickets, besides administrators |
LOG_CHANNEL, BLACKLIST_LOG_CHANNEL, RELOAD_CHANNEL |
Log channels |
MODMAIL_DASHBOARD_URL, APPEAL_URL, BotData.SUPPORT_SERVER |
Links the bot sends |
UPDATE_SIGNERS |
Public keys that may sign a release. Empty turns updating off |
UPDATE_OWNER_IDS |
Users who may install or roll back a release |
UPDATE_CHECK_ON_START |
Whether a start posts that a newer release exists |
The category only controls where tickets are. Who can see them depends on the category's permissions in Discord, so give your staff roles access there.
- Architecture
- Deployment, releases and rollback
- Updating from Discord
- Contributing
- Security policy
- Changelog
Using VulnRadar's support bot is covered by VulnRadar's terms of service, privacy policy and acceptable use policy.
Copyright (C) 2026 the VulnRadar authors. Licensed under the GNU General Public License v3.0 only. The VulnRadar name and logo are not covered by this licence.
See LICENSE for the full text. If you run your own copy, use your own name and logo.