-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
README extended, dependencies improved
- Loading branch information
lavadk
committed
May 17, 2021
1 parent
59674bf
commit 2215b29
Showing
3 changed files
with
29 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 |