So I have this code right now to send an embed:
local url = "myurl" local message = { username="Raffle win bot", embeds={{ fields={ {value="text",name="text"}, {value="text",name="text"}}, title="text",description="text"}}} data = game:GetService('HttpService'):JSONEncode(message) game:GetService('HttpService'):PostAsync(url, data, Enum.HttpContentType.ApplicationJson)
is there any way to make this like green instead of grey?
Discord embeds support colors with the color
key. If you want the color 0xFF00
(Lime green), you'll have to do
local url = "myurl" local message = { username="Raffle win bot", embeds={{ color = 0xFF00 -- or you can use the decimal representation, 65280 fields={ {value="text",name="text"}, {value="text",name="text"}}, title="text",description="text"}}} data = game:GetService('HttpService'):JSONEncode(message) game:GetService('HttpService'):PostAsync(url, data, Enum.HttpContentType.ApplicationJson)