Get bot token on telegram:


Install and configure on server:

cd /opt
git clone [email protected]:phoenixlzx/telegram-stickerimage-bot.git
sudo apt-get install webp libwebp5 libwebp-dev imagemagick
cd telegram-stickerimage-bot
cp config.js.example config.js
npm install && npm start
nano config.js

Replace convert with /usr/bin/convert and add token to config.js

In a case it does'nt work upgrade imagemagick to 6.8:

sudo add-apt-repository ppa:isage-dna/imagick
sudo apt-get update
sudo apt-get upgrade

Run the bot:

node bot.js