forked from test/mau_mau_bot
16 lines
731 B
Markdown
16 lines
731 B
Markdown
# UNO Bot
|
|
Telegram Bot that allows you to play the popular card game UNO via inline queries. The bot currently runs as [@mau_mau_bot](http://telegram.me/mau_mau_bot)
|
|
|
|
To run the bot yourself, you will need:
|
|
- Python (tested with 3.4 and 3.5)
|
|
- The [python-telegram-bot](https://github.com/python-telegram-bot/python-telegram-bot) module version 5.0.0
|
|
- [Pony ORM](https://ponyorm.com/)
|
|
|
|
# Setup
|
|
- Get a bot token from [@BotFather](http://telegram.me/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
|