Runtime
Node.js bots (Void)
Node.js bots (Void)
- Node.js 20 or later
- pnpm (
corepack enableon a modern Node install gets you this without a separate install)
Python bots (everything else)
Python bots (everything else)
- Python 3.10 or later (some bots require 3.12 — check that bot’s
pyproject.tomlorrequirements.txtfor the exact floor) pip, or a virtual environment tool of your choice (venv,poetry, etc.)
A database
- SQLite bots need nothing extra — the database is a single file created automatically on first run.
- PostgreSQL bots need a running Postgres server (13+). The simplest path is Docker: most of
these bots ship a
docker-compose.ymlthat starts Postgres alongside the bot itself.
A Discord application
1
Create the application
At the Discord Developer Portal, create a new
application and add a Bot user to it.
2
Copy the token
Under the Bot page, generate and copy the bot token. This goes in your
.env file — never
commit it, and never post it anywhere public. If a token ever leaks, regenerate it
immediately from the same page.3
Enable the intents your bot needs
Under the Bot page’s Privileged Gateway Intents, enable whichever of Server Members
Intent / Message Content Intent that specific bot requires — check its own docs (each bot’s
Installation & Permissions guide lists what it needs) or its README.
4
Note your Application ID
Found on the General Information page — some bots need this in
.env alongside the token.Next: install it
Get the code running locally.