No description
Find a file
Karho 92c07d12ad Update bot.py
Changing the function process_result on result_id in c.COLORS such that there is a try-except statement to prevent a deadlock in choosing colors.
2017-02-18 00:06:41 +08:00
images use icons for draw and pass 2016-05-24 09:58:04 +02:00
locales Merge pull request #23 from jimchen5209/patch-2 2017-02-04 13:56:46 +08:00
test improve unit test of bluffing 2016-05-27 14:02:22 +02:00
.gitignore add database file to gitignore 2016-05-22 14:47:26 +02:00
AUTHORS.md add qubitnerd to AUTHORS 2016-07-02 20:36:29 +02:00
bot.py Update bot.py 2017-02-18 00:06:41 +08:00
card.py use icons for draw and pass 2016-05-24 09:58:04 +02:00
chat_setting.py add encoding 2016-05-19 23:15:46 +02:00
credentials.py add license information (#4) 2016-05-08 14:38:38 +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 Update errors.py 2017-02-17 22:55:11 +08:00
game.py Update game.py 2017-02-17 11:45:53 +08:00
game_manager.py Combining with "patch" branch (#29) 2017-02-16 18:43:44 +08:00
internationalization.py small fixes 2016-06-02 15:03:33 +02:00
LICENSE move to AGPL (#4) 2016-05-08 14:37:25 +02:00
logo.png added logo 2016-03-09 11:31:54 +01:00
player.py Update player.py 2017-02-17 22:47:16 +08:00
README.md Update README.md 2016-10-27 14:01:23 +02:00
requirements.txt Update requirements.txt 2016-11-06 18:12:24 +07:00
results.py implement plurals, update de_DE translation to use plurals 2016-05-24 15:49:23 +02:00
settings.py implement plurals, update de_DE translation to use plurals 2016-05-24 15:49:23 +02:00
shared_vars.py simple fix for botan 2016-11-22 17:51:37 +07:00
simple_commands.py replace mau_mau_bot by unobot 2016-10-27 14:44:08 +02:00
start_bot.py add encoding 2016-05-19 23:15:46 +02:00
test_player.py Combining with "patch" branch (#29) 2017-02-16 18:43:44 +08:00
TRANSLATORS.md Merge branch 'zh_CN-patch' of https://github.com/imlonghao/unocn_bot into imlonghao-zh_CN-patch 2016-05-25 16:58:04 +02:00
user_setting.py lang empty by default 2016-05-25 05:54:12 +02:00
utils.py implement plurals, update de_DE translation to use plurals 2016-05-24 15:49:23 +02:00

UNO Bot

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 place it in credentials.py
  • Convert all language files from .po to .mo using 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