Check live status discord.js

  • You need to decide if you are going to use Webhooks (needs a server that is basically a “website” to receive data), or poll the API endpoint on a schedule
  • You need to pick a library for making HTTP requests in nodeJS.
  • If you are using Webhooks you need to decide if you are going to expose the bot to the web (bad idea), or devise a service for receiving webhook payloads and relay a message between your webhook receive and your bot,
  • If going separate service, pick a library and/or language to write that service in
  • If you are using long poll determine a way to store the state of the stream, so you don’t notify for a live stream being live when you already notified for it being live. (You might want this for Webhooks to to debounce stream restarts for example)