/node-packtpub-deals-bot

Telegram bot to give you free Packtpub ebook information

Primary LanguageJavaScript

Packtpub Telegram Bot

Prerequisite

  1. Token. You need to talk to @botfather and create a new bot.
  2. 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

How to use

With Git

  1. Clone this repository git clone https://github.com/reyhansofian/node-packtpub-deals-bot
  2. Run npm install
  3. Run TELEGRAM_BOT_TOKEN=YOUR_BOT_TOKEN node index.js

With Docker

  1. Pull this docker image docker pull computecoholic/packtpub-telegram-bot
  2. Run the docker image
docker run \
    -p 49160:8080 \
    -e TELEGRAM_BOT_TOKEN='YOUR_BOT_TOKEN' \
    -d computecoholic/packtpub-telegram-bot