basic usage

This commit is contained in:
JerryXiao 2018-12-20 14:05:02 +08:00 committed by GitHub
부모 48e47fd41c
커밋 4639bf77bf
No known key found for this signature in database
GPG 키 ID: 4AEE18F83AFDEB23
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제

파일 보기

@ -6,8 +6,12 @@ This user bot can play uno with other humans. (Python3 only)
## Installation
The bot uses [Telethon](https://github.com/LonamiWebs/Telethon), a Pure Python 3 MTProto API Telegram client library.
Please follow [this](https://telethon.readthedocs.io/en/stable/extra/basic/installation.html#installation) guide to install Telethon, and [create your api id and hash](https://telethon.readthedocs.io/en/stable/extra/basic/creating-a-client.html).
Then place your settings in `config.py`.
Then place your settings in `config.py`.
Run the bot with `python3 bot.py` or `./bot.py`.
## Usage
Add yourself and unobot to a group. Create a new game with `/new`.
The bot will join the game and play its cards automatically.
## Contributing
* Copyright © 2018 JerryXiao