From b2f78fdbaac1ebe5c89c3091f8462ad3b73de670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jannes=20H=C3=B6ke?= Date: Thu, 1 Sep 2016 03:58:46 +0200 Subject: [PATCH] Setup instructions --- README.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 13919af..d3d15e7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,13 @@ Telegram Bot that allows you to play the popular card game UNO via inline querie 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/) -Get a bot token from [@BotFather](http://telegram.me/BotFather), place it in `credentials.py` and run the bot with `python3 bot.py` +# 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