Skip to main content

Runtime

  • Node.js 20 or later
  • pnpm (corepack enable on a modern Node install gets you this without a separate install)
  • Python 3.10 or later (some bots require 3.12 — check that bot’s pyproject.toml or requirements.txt for 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.yml that starts Postgres alongside the bot itself.
See Database for which applies to your bot and how migrations work.

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.