[DiscordArchive] to POST from a c++ module we need to use curl?
[DiscordArchive] to POST from a c++ module we need to use curl?
Archived author: OUTRAKE • Posted: 2024-10-24T11:50:38.988000+00:00
Original source
oh yea forgot it
Archived author: OUTRAKE • Posted: 2024-10-24T11:50:39.528000+00:00
Original source
haha
Archived author: OUTRAKE • Posted: 2024-10-24T11:50:44.688000+00:00
Original source
i see only darkness before me
tring discordMsg = "[LIVE] " + streamerName + " is live now!";
tring webhookUrl = "https://discord.com/api/webhooks/129896..";
tring jsonPayload = "{\"content\": \"" + discordMsg + "\"}";Archived author: OUTRAKE • Posted: 2024-10-24T11:52:36.620000+00:00
Original source
```cpp
AddGossipItemFor(player, 0, "|TInterface/ICONS/Inv_misc_missilesmall_red:28:28:-20:0|t Announce Live Stream", 0, 5);
...
// Send server-wide message
sWorld->SendServerMessage(SERVER_MSG_STRING, stream.str().c_str());
// Discord webhook
std:
tring discordMsg = "[LIVE] " + streamerName + " is live now!";
std:
tring webhookUrl = "https://discord.com/api/webhooks/129896..";
std:
tring jsonPayload = "{\"content\": \"" + discordMsg + "\"}";
// Send the POST request to Discord
HttpRequest("POST", webhookUrl, jsonPayload, "application/json...
```
Archived author: OUTRAKE • Posted: 2024-10-24T11:52:45.336000+00:00
Original source
i want something like that
Archived author: Ryan Turner • Posted: 2024-10-24T11:54:09.400000+00:00
Original source
Try posting this in <#353919176714354698> also if you add this to your codeblock (to the proper language extension) makes it easier to read
![[Image: image.png?ex=690be3a2&is=690a9222&hm=beb...7093ee692&]](https://cdn.discordapp.com/attachments/1255602330431127753/1298977839969730560/image.png?ex=690be3a2&is=690a9222&hm=beb076a4061b6279a5b3b067865d32a319b9feacc4addb4349d954f7093ee692&)
Archived author: Ryan Turner • Posted: 2024-10-24T11:54:10.875000+00:00
Original source
![[Image: image.png?ex=690be3a2&is=690a9222&hm=beb...7093ee692&]](https://cdn.discordapp.com/attachments/1255602330431127753/1298977839969730560/image.png?ex=690be3a2&is=690a9222&hm=beb076a4061b6279a5b3b067865d32a319b9feacc4addb4349d954f7093ee692&)
Archived author: OUTRAKE • Posted: 2024-10-24T11:54:10.925000+00:00
Original source
to announce on realm and on discord
Archived author: JacatinRawr • Posted: 2024-10-24T11:54:16.535000+00:00
Original source
i think you can easily achive something like that using Eluna.
Archived author: OUTRAKE • Posted: 2024-10-24T11:54:23.295000+00:00
Original source
yea i know