- Token. You need to talk to @botfather and create a new bot.
- Start the bot by send
/start
message on your group (you need to invite the bot to the group first) or on you private chat
- Clone this repository
git clone https://github.com/reyhansofian/node-packtpub-deals-bot
- Run
npm install
- Run
TELEGRAM_BOT_TOKEN=YOUR_BOT_TOKEN node index.js
- Pull this docker image
docker pull computecoholic/packtpub-telegram-bot
- Run the docker image
docker run \
-p 49160:8080 \
-e TELEGRAM_BOT_TOKEN='YOUR_BOT_TOKEN' \
-d computecoholic/packtpub-telegram-bot