Skip to content
A small node script that will send a 1 time message to telegram
JavaScript
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
btc.js
example.telegram.json
package.json

README.md

CoinBot

A small node script that will send a 1 time message to telegram

Setup

  • Clone the repo git clone https://github.com/Hoi15A/CoinBot.git
  • Run npm install
  • Copy example.telegram.json to telegram.json
  • In telegram.json change token to your telegram bot token and chat to a chat or channel id. Under crypto you can specify an array of cryptocurrencies to be sent by the bot and with currency you can set the currency it should convert the value of the crypto to. (both need to be available on the coinmarketcap.com api)
  • Run node btc.js in a cronjob at whatever interval you like
You can’t perform that action at this time.