Go to file
Jannes Höke 09d01d001b add cached admin check 2017-08-19 00:08:55 +02:00
images use icons for draw and pass 2016-05-24 09:58:04 +02:00
locales add missing } 2017-07-19 17:05:19 +02:00
test improve unit test of bluffing 2016-05-27 14:02:22 +02:00
.gitignore python-telegram-bot v7 compatability + more (#35) 2017-08-18 23:36:30 +02:00
AUTHORS.md add qubitnerd to AUTHORS 2016-07-02 20:36:29 +02:00
LICENSE move to AGPL (#4) 2016-05-08 14:37:25 +02:00
README.md python-telegram-bot v7 compatability + more (#35) 2017-08-18 23:36:30 +02:00
TRANSLATORS.md Add translater (#31) 2017-08-18 23:36:51 +02:00
bot.py add cached admin check 2017-08-19 00:08:55 +02:00
card.py python-telegram-bot v7 compatability + more (#35) 2017-08-18 23:36:30 +02:00
chat_setting.py add encoding 2016-05-19 23:15:46 +02:00
config.json.example python-telegram-bot v7 compatability + more (#35) 2017-08-18 23:36:30 +02:00
database.py add __ function to translate complete stack, add dummy decorators to pull locales from db 2016-05-22 03:13:05 +02:00
deck.py add encoding 2016-05-19 23:15:46 +02:00
errors.py add encoding 2016-05-19 23:15:46 +02:00
game.py python-telegram-bot v7 compatability + more (#35) 2017-08-18 23:36:30 +02:00
game_manager.py formatting, exception handling, documentation 2016-07-02 20:37:35 +02:00
internationalization.py small fixes 2016-06-02 15:03:33 +02:00
logo.png added logo 2016-03-09 11:31:54 +01:00
mwt.py add cached admin check 2017-08-19 00:08:55 +02:00
player.py draw method reset draw counter on empty deck 2016-05-21 18:55:53 +02:00
requirements.txt python-telegram-bot v7 compatability + more (#35) 2017-08-18 23:36:30 +02:00
results.py implement plurals, update de_DE translation to use plurals 2016-05-24 15:49:23 +02:00
settings.py python-telegram-bot v7 compatability + more (#35) 2017-08-18 23:36:30 +02:00
shared_vars.py fix import of database models, botan 2017-08-18 23:57:18 +02:00
simple_commands.py python-telegram-bot v7 compatability + more (#35) 2017-08-18 23:36:30 +02:00
start_bot.py add encoding 2016-05-19 23:15:46 +02:00
user_setting.py lang empty by default 2016-05-25 05:54:12 +02:00
utils.py add cached admin check 2017-08-19 00:08:55 +02:00

README.md

UNO Bot

License: AGPL v3

Telegram Bot that allows you to play the popular card game UNO via inline queries. The bot currently runs as @unobot.

To run the bot yourself, you will need:

Setup

  • Get a bot token from @BotFather and change configurations in config.json.
  • Convert all language files from .po files to .mo files using msgfmt unobot.po -o unobot.mo.
    Also try find . -maxdepth 2 -type d -name 'LC_MESSAGES' -exec bash -c 'msgfmt {}/unobot.po -o {}/unobot.mo' \;.
  • Use /setinline and /setinlinefeedback with BotFather for your bot.

Then run the bot with python3 bot.py.

Code documentation is minimal but there.