Liker is a Telegram bot that allows you to add reactions (likes, etc.) to channel posts. Liker also supports post comments.
You can either use an existing Liker bot available at https://t.me/liker10_bot. In order to do that:
-
Give Liker bot an admin permission to edit posts in your channel.
-
If you have a discussion group (e.g. post comments) — add Liker to the group also.
-
In order to customize reactions (👍 is a default reaction) send the following command to Liker in Telegram:
/set_reactions —channel_id [YOUR_CHANNEL_ID] —reactions [SPACE_SEPARATED_REACTIONS]
For example:
/set_reactions —channel_id @awesome_channel —reactions 👍 ❤ 😡
To build your own version of Liker:
- Download the source code
git clone --recurse-submodules https://github.com/luckybots/liker.git
If you don't add --recurse-submodules
-- you'll get an error during make build
(make: *** No rule to make target 'build')
-
Create and customize
data/config.json
according todata/config_example.json
. In theconfig.json
providebot_token
value. -
To run with Docker use
make build
make run-it