A simple script to ping your bots (or any other service) and send their statuses to webhooks.
- Install node.js
- Install dependencies using
npm install
- Make sure your bot is running a web app that you can ping (e. g. using express. This also works with localhost, however in that case your bot and this script should be running on the same machine)
- Modify webhook and bot lists in
pingState.js
- Run using
node .
ornode pingState.js