Installation and Setup
Prerequisites
A computer or server with Docker and Docker Compose installed.
A Discord bot token (create one at the Discord Developer Portal).
PostgreSQL database access (handled via Docker).
Step-by-Step Setup
Clone the Repository:
git clone https://github.com/The-LukeZ/CrossBan.git cd CrossBanPrepare Environment File:
Copy the example:
cp .env.example .envEdit .env with your details.
Start the Bot:
pnpm docker:build # run this only once, otherwise data will be lost pnpm docker:start # use this once you have built the containerThis builds and runs the app in containers.
Invite the Bot:
Use the Discord Developer portal to generate an invite link with permissions for managing bans and messages, and most importantly seeing Audit Logs.
Verify:
The bot should appear online in your servers. Run config to start configuring.
Last updated
Was this helpful?