No description
75e3076285
Reverting back to the original rule. |
||
---|---|---|
images | ||
locales | ||
test | ||
.gitignore | ||
AUTHORS.md | ||
bot.py | ||
card.py | ||
chat_setting.py | ||
credentials.py | ||
database.py | ||
deck.py | ||
errors.py | ||
game.py | ||
game_manager.py | ||
internationalization.py | ||
LICENSE | ||
logo.png | ||
player.py | ||
README.md | ||
requirements.txt | ||
results.py | ||
settings.py | ||
shared_vars.py | ||
simple_commands.py | ||
start_bot.py | ||
test_player.py | ||
TRANSLATORS.md | ||
user_setting.py | ||
utils.py |
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:
- Python (tested with 3.4 and 3.5)
- The python-telegram-bot module version 5.0.0
- Pony ORM
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