Exemple de webhook Discord.
Ce script est destiné aux développeurs, pas au grand public, même si vous êtes plus que bienvenu pour l'utiliser.
Les termes et conditions sont fournis dans le script.
https://github.com/TBGRenfold/discord-lsl
- Discord Webhook
- Publier un message d'un objet à Discord
- Devrait fonctionner dans Opensim, testé sur la version 0.9 (aucune promesse)
Okay-ish
With a lot of time and patience, you can get it to work in a way you want. Not the product if you need a quick solution. There are better suited ones for that. But if you want to tinker and experiment and spend some considerable time on it, or simply enjoy scripting, then it's an option worjt looking into.
Great Help!!!
With little research, I was able to use the examples to do what I needed implemented. The helpfully commented samples helped a lot, and in the process, learned how to format JSON. There are a lot of online visual tools out there, but I recommend this one, as it leaned towards Discord: https://leovoel.github.io/embed-visualizer/.
NOTE: A couple days after I started using it, it seems like something had changed on the side of Discord, and posting stopped working, getting a return error message of:
{ "code": 50006, "message": "Cannot send an empty message" }
If you are getting the same, to fix this, you might want to change the HTTP_MIMETYPE in the llHTTPRequest, from "application/x-www-form-urlencoded" to "application/json"
Thanks again, TBG Renfold!
Very Nice!
I love it, I do have some idea, but changing it to how I want fails if I remove the touch start, but this could be my issue lol. I'll keep tinkering with it.