PUBobot2 is a Discord bot for pickup games organisation. PUBobot2 have a remarkable list of features such as rating matches, rank roles, drafts, map votepolls and more!
If you want to test the bot, feel free to join Pubobot2-dev discord server.
All the bot settings can be found and configured on the Web interface.
For the complete list of commands see COMMANDS.md.
You can invite the bot to your discord server from the web interface or use the direct invite link.
Hosting the service for everyone is not free, not mentioning the actual time and effort to develop the project. If you enjoy the bot please subscribe on Patreon or donate any amount directly on PayPal.
- Python 3.9 and modules from pip: discord.py, pymysql, aiomysql, emoji, glicko2, trueskill, prettytable.
- MySQL.
- gettext for multilanguage support.
- Create mysql user and database for PUBobot2:
-
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';
- Install required modules and configure PUBobot2:
-
python3.9 -m pip install discord.py pymysql==0.9.3 aiomysql emoji glicko2 trueskill prettytable
-
git clone https://github.com/Leshaka/PUBobot2
-
cd PUBobot2
-
cp config.example.cfg config.cfg
-
nano config.cfg
- Fill config file with your discord bot instance credentials and mysql settings and save.
-
- Optionally, if you want to use other languages, run script to compile translations:
./compile_locales.sh
.
- Optionally, if you want to use other languages, run script to compile translations:
-
python3.9 PUBobot2.py
- If everything is installed correctly the bot should launch without any errors and give you CLI.
Developer: Leshaka. Contact: leshkajm@ya.ru.
Used libraries: discord.py, aiomysql, emoji, glicko2, TrueSkill, prettytable.
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.