Skip to content

gabr1sr/discord-bot

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages