Skip to content

3onier/discord_bot

Repository files navigation

Discord bot

this is my discord bot. It hasn't got any name yet.

Development

Prerequisites

Installation

with docker

# clone git repository
git clone https://github.com/3onier/discord_bot

cd discord_bot

# adjust setting if needed
nano Dockerfile
nano docker-compose.yml

# build ducker image
sudo docker build . -t 3onier/discord_bot

# run cointainer
docker-compose up -d

local

# clone git repository
git clone https://github.com/3onier/discord_bot

# create virtual enviroment
pipenv install

# migrate database
pipenv run migrate

Environment variables

Name Description Default
TOKEN Token for the Discord bot API
DB_HOST Host address of MySQL server
DB_PORT Port of MySQL server 3306
DB_NAME Name of database discord_bot
DB_USER MySQL user
DB_PASSWORD Password for the MySQL user

About

Just a discord bot I'm messing around with

Resources

Stars

Watchers

Forks

Packages

No packages published