meizuflux / saberbot

discord bot for the cc discord server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

SaberBot

BeatSaber bot for the Cube Community Discord

Running the bot

Instructions to run the bot

1. Cloning the Repo

git clone https://github.com/ppotatoo/saberbot
cd saberbot

2. Install Python

For the rest of this readme, we will use python3.9 in all of our commands. This may change depending on which version of Python you have installed. You can download Python from here.

3. Install dependencies

Simple, just run this:

python3.9 -m pip install -U -r requirements.txt

4. Create database

Install a recent version of PostgreSQL. This varies from system to system so I will leave it out of here. Once you are done this, create a user and a db like so:

CREATE ROLE ccbot WITH LOGIN PASSWORD '<your password>';
CREATE DATABASE ccbot OWNER ccbot;

5. Configure the bot

Fill out the config.yml.example file. When you are done, make sure to remove the .example from the filename otherwise the bot will not recognize it.

6. Run the bot

Simply run the bot with this command:

python3.9 launch.py

That's it. Any customization is done through the config.yml file.

About

discord bot for the cc discord server

License:MIT License


Languages

Language:Python 99.3%Language:Dockerfile 0.7%