Exemplo do webhook da discórdia.
Este script é destinado a desenvolvedores, não ao público em geral, mesmo que você seja mais que bem-vindo para usá-lo.
Termos e condições são fornecidos no script.
https://github.com/TBGRenfold/discord-lsl
- Discord Webhook
- Postar de uma mensagem de um objeto para Discord
- Deve funcionar em Opensim, testado na versão 0.9 (sem promessas)
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.
