Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lavadk committed May 17, 2021
2 parents 8e85fba + 13208ab commit 23e105f
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,26 @@ You can either use an existing Liker bot available at https://t.me/liker10_bot.

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:
3. 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 👍 ❤ 😡
```

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

1. 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')

2. Create and customize data/config.json according to data/config_example.json
2. Create and customize `data/config.json` according to `data/config_example.json`.
In the `config.json` provide `bot_token` value.

3. To run with Docker use
```
Expand Down

0 comments on commit 23e105f

Please sign in to comment.