Update README.md

This commit is contained in:
2017-07-04 21:49:31 +08:00
parent ab20bedd5a
commit 27b97fe9d7

View File

@ -1,8 +1,8 @@
# UNO Bot # UNO Bot (zh_TW)
[![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](./LICENSE) [![License: AGPL v3](https://img.shields.io/badge/License-AGPL%20v3-blue.svg)](./LICENSE)
Telegram Bot that allows you to play the popular card game UNO via inline queries. The bot currently runs as [@unobot](http://telegram.me/unobot) Telegram Bot that allows you to play the popular card game UNO via inline queries. The bot currently runs as [@pluno_bot](http://telegram.me/pluno_bot)
To run the bot yourself, you will need: To run the bot yourself, you will need:
- Python (tested with 3.4 and 3.5) - Python (tested with 3.4 and 3.5)
@ -11,7 +11,6 @@ To run the bot yourself, you will need:
## Setup ## Setup
- Get a bot token from [@BotFather](http://telegram.me/BotFather) and place it in `credentials.py` - 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 - Use `/setinline` and `/setinlinefeedback` with BotFather for your bot
Then run the bot with `python3 bot.py` Then run the bot with `python3 bot.py`