Skip to content

Commit

Permalink
README extended, dependencies improved
Browse files Browse the repository at this point in the history
  • Loading branch information
lavadk committed May 17, 2021
1 parent 59674bf commit 2215b29
Show file tree
Hide file tree
Showing 3 changed files with 29 additions and 4 deletions.
29 changes: 27 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,27 @@
# liker
Telegram bot that allows you to add reactions (likes, etc.) to channel posts + creates a separate button for comments
# Liker
Liker is a Telegram bot that allows you to add reactions (likes, etc.) to channel posts. Liker also supports post comments.

## How to use Liker
You can either use an existing Liker bot available at https://t.me/liker10_bot. In order to do that:

1. Give Liker bot an admin permission to edit posts in your channel.

2. If you have a discussion group (e.g. post comments) — add Liker to the group also.

3. In order to customize reactions (👍 is a default reaction) use command:
/set_reactions —channel_id [YOUR_CHANNEL_ID] —reactions [SPACE_SEPARATED_REACTIONS]
For example:
/set_reactions —channel_id @awesome_channel —reactions 👍 ❤ 😡

## Build liker from sources
To build your own version of Liker:

1. Download the source code

2. Create and customize data/config.json according to data/config_example.json

3. To run with Docker use
```
make build
make run-it
```
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ requests==2.25.1
rsa==4.7.2
Telethon==1.21.1
typeguard==2.12.0
urllib3==1.26.4
urllib3>=1.26.4
tengi
2 changes: 1 addition & 1 deletion requirements_test.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ python-jsonstore==1.3.0
requests==2.25.1
six==1.15.0
toml==0.10.2
urllib3==1.26.3
urllib3>=1.26.4
tengi

0 comments on commit 2215b29

Please sign in to comment.