A Telegram chat bot for fetching the price of XEM
npm install
- Run the price data fetcher. It fetches the data regularly at a given time interval.
node cmcdataimport.js
- And then run the telegram bot. It relays the price data to the requester (from the chat).
node nembot.js
Both processes should be kept running. For example, by using Node.js Process Manager (PM2):
npm install --global pm2
And then run both as background process
pm2 start cmcdataimport.js -i 0 --name "cmcbot"
pm2 start nembot.js -i 0 --name "nembot"
Important notes:
Bugfix: #319
Dual licensed under the MIT and LGPL licenses: