Code Monkey home page Code Monkey logo

ibntbot's Introduction

PUBobot2

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!

Some screenshots

screenshots

Using the public bot instance

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.

Support

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.

Hosting the bot yourself

Requirements

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

Installing

  • 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:
    • git clone https://github.com/Leshaka/PUBobot2
    • cd PUBobot2
    • pip3 install -r requirements.txt
    • 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.
    • python3 PUBobot2.py - If everything is installed correctly the bot should launch without any errors and give you CLI.

Credits

Developer: Leshaka. Contact: [email protected].
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.

IBNTBOT

ibntbot's People

Contributors

martinclub avatar alpvelioglu avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.