Subj : Discord webook integration
To   : Hunter-Z
From : DaiTengu
Date : Mon Nov 01 2021 10:53 am

 Re: Discord webook integration
 By: Hunter-Z to All on Sat Oct 23 2021 07:27 pm

Hu> Since we're using Discord and Synchronet is now heavy into JavaScript, I
Hu> thought I'd try hooking the two together. I've had limited success using
Hu> an HTTPRequest from Synchronet's http.js to send POST requests to a
Hu> Discord webhook URL, but I've run into some issues and limitations that I
Hu> could use some advice on.

Hey, so a couple years ago I expanded upon echicken's twitter.js library, and created a script to post to Twitter any time someone logged on, logged off, posted a message or ran a door game.  (I also believe there's an option to tweet if someone uploads/downloads a file, but I don't think it works correctly).

https://github.com/DaiTengu/tweeter


That might be a good starting point, at least for the hooks you want.

DaiTengu

... In the future, everyone will be famous for fifteen minutes.

---
� Synchronet � War Ensemble BBS - The sport is war, total war - warensemble.com