diff --git a/README.md b/README.md index 0553f89..f8838c7 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,14 @@ -# Bot for posting reactions to a Telegram post. -**Bot puts reactions only to new posts!** +## Bot for posting reactions to a Telegram post. + +
+ + + + + +
+ +**This script sends reactions to a new post or message in selected open groups and channels, as well as automatically subscribes to them.** ## Launch Instructions: 1. Create an empty directory @@ -9,21 +18,26 @@ 5. `pip install -r requirements.txt` 6. Add your channel name to `config.py` 7. `mkdir sessions` -8. **Sessions must be for Pyrogram!** Add the session file and its configuration file to the `/sessions` directory. **These two files must have the same name!** Here is an example: -``` -/sessions -│ 8888888888.ini -│ 8888888888.session -│ 9999999999.ini -│ 9999999999.session -│ 98767242365.json -│ 98767242365.session -``` +8. **Sessions must be for [pyrogram](https://github.com/pyrogram/pyrogram)!** + + Add the session file and its configuration file to the /sessions directory ( _which we created in step 7_ ). + + **These two files must have the same name!** Here is an example: + + ``` + /sessions + │ 8888888888.ini + │ 8888888888.session + │ 9999999999.ini + │ 9999999999.session + │ 98767242365.json + │ 98767242365.session + ``` 9. `nohup python reactionbot.py &` ## Sample configuration file *.ini -You can add more parameters that Pyrogram supports. +You can add more parameters that [pyrogram](https://github.com/pyrogram/pyrogram) supports. ``` [pyrogram] api_id = you_api_id @@ -36,7 +50,7 @@ system_version = 'Android' ``` ## Sample configuration file *.json -You can add more parameters that Pyrogram supports. +You can add more parameters that [pyrogram](https://github.com/pyrogram/pyrogram) supports. ``` { "api_id": "you_api_id",