I am using a proxy to send the message.
function createMessage(player,products)
print("creating")
local message = {
["embeds"] = {
["title"] = "New Purchase!";
["description"] = ""..player.Name.." has bought "..products.."";
["image"] = {
["url"] = "http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username="..player.Name.."";
["height"] = 100;
["width"] = 100
};
["color"] = 23918456;
["footer"] = {
["text"] = "Coded by Ize_Cubz!"
}
}
}
print(message.embeds.image.url)
print(message.embeds.description)
local sender = http:JSONEncode(message)
print("encoded")
pcall(function()
http:PostAsync(Webhook,sender)
end)
print("sent")
end
repeat wait() until game.Players:FindFirstChild("Ize_Cubz")
createMessage(game.Players.Ize_Cubz,"Tester")
It sends every print:
creating
http://www.roblox.com/Thumbs/Avatar.ashx?x=100&y=100&Format=Png&username=Ize_Cubz
Ize_Cubz has bought Tester
encoded
sent
Yet no message in discord, anyone know why?

4 comments
Try doing
local Success, Result = pcall(http.PostAsync, http, Webhook, sender) print(Success, Result)It prints "true"
i dont see any link to discord
I hid the link so no one can spam it getting me banned, its sent through the proxy I linked, look it up on the dev fourm if you want to know more about it.