These are the steps common to every bot in this catalog. Individual command names and file
paths vary — check the README that ships with the specific source you bought for exact
commands.
1
Extract or clone the source
You’ll have received either a
.zip or a private repository link. Unpack it or clone it
into its own directory.2
Install dependencies
3
Copy the environment template
Every bot ships a
.env.example (sometimes several, for optional features). Copy it to
.env and fill in your bot token, application ID, and database connection string — see
Prerequisites for where those come from.4
Run database migrations, if the bot uses PostgreSQL
SQLite-backed bots skip this — the database file is created automatically. PostgreSQL-backed
bots use a migration tool (Alembic, for the Python bots that use it) — run its migrate/upgrade
command once your
DATABASE_URL is set. See Database.5
Start the bot
6
Invite it to a test server
Build an invite URL from the Discord Developer Portal’s OAuth2 URL Generator using the
bot
and applications.commands scopes, plus whatever permissions that bot’s Installation &
Permissions guide lists.Running it long-term
Once it works locally, here’s how to keep it running.