A small node script that will send a 1 time message to telegram
- Clone the repo
git clone https://github.com/Hoi15A/CoinBot.git
- Run
npm install
- Copy
example.telegram.json
totelegram.json
- In
telegram.json
changetoken
to your telegram bot token andchat
to a chat or channel id. Undercrypto
you can specify an array of cryptocurrencies to be sent by the bot and withcurrency
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