Skip to content

LiquidPL/dangobot

Repository files navigation

dangobot Build

A small Discord bot written using Discord.py.

Features

Requirements

  • Python 3.9
  • a PostgreSQL database

Setup

Clone the repo into a location of your choice, and run pipenv sync. Then you can configure the bot using an .env file. An example configuration is provided in the .env.example file.

# cp .env.example .env

The absolute required configuration variables are:

  • database configuration (all DATABASE_... variables),
  • the Discord bot token (BOT_TOKEN).

Once you've provided the necessary configuration variables, you can create the database tables, and start the bot by running those commands in the project root:

# ./manage.py migrate
# ./manage.py startbot

There is also a Docker image available, using the same environment variables for configuration. An example Docker Compose configuration, including a Postgres database, is available in the docker-compose.production.yml file.

About

Small Discord bot written with discord.py

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages