Skip to content
addu66Public
forked from aoepl/BombayBot

About

Discord bot for Bombay Lobby

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

BombayBot

BombayBot is a Discord bot for pickup games in AOE Bombay discord lobby. BombayBot have a remarkable list of features such as rating matches, rank roles, drafts, map votepolls and more!

Requirements

  • Python 3.9+
  • MySQL.
  • gettext for multilanguage support.

Build

Create mysql user and database for BombayBot:

sudo mysql
CREATE USER 'pubobot'@'localhost' IDENTIFIED BY 'your-password';
CREATE DATABASE pubodb CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci;
GRANT ALL PRIVILEGES ON pubodb.* TO 'pubobot'@'localhost';

Fill config file with your discord bot instance credentials and mysql settings and save.

cp config.example.cfg config.cfg
nano config.cfg

Docker commands

# Build and start in background
  docker compose down
  docker compose build --no-cache
  docker compose up -d
                                                                                                                                                                                                                         
  # View logs
  docker compose logs -f                                                                                                                                                                                                 
                                                                  
  # Stop
  docker compose down

  # Rebuild after code changes                                                                                                                                                                                           
  docker compose up -d --build

Credits

Developer: Leshaka. Contact: leshkajm@ya.ru.
Used libraries: discord.py, aiomysql, emoji, glicko2, TrueSkill, prettytable.

License

Copyright (C) 2020 Leshaka.

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 3 as published by the Free Software Foundation.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

See 'GNU GPLv3.txt' for GNU General Public License.

About

Discord bot for Bombay Lobby

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages