Discord Webhook



  • I made a simple discord webhook sender in a new project using javascript, but I'd like to apply it to my main bot. I want it to run in a seperate thread and it should send a webhook message every 15 minutes about the number of succesful threads, failed threads, number of threads running and the runtime of the script while the rest of my bot carry on with the main script. Anyone know how I can achieve this task?



  • @SBF69 get the current flow number.
    if it is equal to N (for example 1)
    then run in a cycle with sleep for ~15 min. Discord Webhook
    If not, then do the standard tasks


Log in to reply
 

  • 2
  • 1
  • 5
  • 4
  • 12
  • 2
  • 7
  • 9