Telegram Bot that keeps track of servers. Updates channel when status changes and provides UI to look at the status of all severs.
The bot is split into two processes so that you can only run the tracker or only run the interactive bot or both.
- create a
.env
file in project directory
BOT_TOKEN={your telegram bot token from bot father}
NOTIFICATION_CHANNEL={the id of the channel or group you want to post updates to}
BOT_NAME={the name of your bot with @ attached eg. @newworldbot}
npm install
npm start
- Edit
keepTrack.js
you will see thekeep_track_of_Asgard
object. - By default this will check the status of Asgard server every minute.
- If you want to track more than one server copy from line 8 to 20 and paste at the bottom of file and edit appropriately.
npm install
npm run track