[DiscordArchive] guys do we have curl and json included in the core?
[DiscordArchive] guys do we have curl and json included in the core?
Archived author: Roboto • Posted: 2023-10-03T07:23:40.965000+00:00
Original source
it's easier if the lib is header-only of course
Archived author: Trojan • Posted: 2023-10-03T07:23:59.361000+00:00
Original source
understood thanks amazing
Archived author: Trojan • Posted: 2023-10-03T07:24:46.615000+00:00
Original source
ah you did that with discord webhook too
Archived author: Trojan • Posted: 2023-10-03T07:24:53.485000+00:00
Original source
so i dont even need curl
Archived author: Michael Crilly • Posted: 2023-10-03T07:25:16.467000+00:00
Original source
You just need to send an HTTPS POST request with a JSON (string) body.
Archived author: Trojan • Posted: 2023-10-03T07:25:57.864000+00:00
Original source
aah no he did it with a bot not a webhook
Archived author: Trojan • Posted: 2023-10-03T07:27:16.281000+00:00
Original source
amazing i think ill do it with a bot then too
Archived author: Roboto • Posted: 2023-10-03T07:27:31.571000+00:00
Original source
yep I send the data through a WebSocket to a nodejs Discord bot which then sends the messages via a Discord lib
Archived author: Michael Crilly • Posted: 2023-10-03T07:27:41.622000+00:00
Original source
Very cool.
You can also poll the DB on a schedule using Python or something.
Archived author: Roboto • Posted: 2023-10-03T07:28:12.828000+00:00
Original source
Not sure what you want to do but you can probably achieve it by modifying the chat transmitter