/discord-bot

Multi-purpose self-hosted Discord bot

Primary LanguageRustGNU Affero General Public License v3.0AGPL-3.0

Discord Bot

A multi-purpose selfhosted Discord bot.

Goals

  • Selfhosted so you don't need to trust other bots
  • Provide everything a Discord server might need
  • Users can verify the source code
  • Multi-language support
  • Highly configurable

Getting Started

Here we will teach you how to setup your bot.

Requirements

Environment Variables

Copy the .env.example file to .env:

cp .env.example .env

Open .env file and fill these values:

DISCORD_TOKEN=
DATABASE_URL=

Build and Run

To build the whole project:

cargo build

Create database and run migrations:

cargo sqlx database setup

To run the project:

cargo run