Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why are Discord Webhook Embeds not sending for Mobile?

Asked by
l1u2i3 52
4 years ago
Edited 4 years ago

I've created this Application Center that sends Embedded Webhooks to Discord. It works perfectly fine for all my customers that use a PC, but it's not working for anyone on mobile. It does eventually work but it takes many tries.

This is the script that sends the information. It's inside ServerScriptService

local http = game:GetService("HttpService")

    local One = {
["content"] = "[@here]",
["embeds"] = {{
    ["title"] = "__**"..script.Parent.AnswerBringer.AppName.Value.." Application**__", 
    ["description"] = "**Sent from:** *"..script.Parent.AnswerBringer.PlayerNameValue.Value.."*",
    ["color"] = tonumber(0xffffff),
    ["type"] = "rich",
    ["fields"] = {  
        {
            ["name"] = script["A1"].Question.Value, --- It's getting info from a string value which is the question.
            ["value"] = script["A1"].Value, ---This is also getting info from a string value, but it's the answer that was inserted.
            ["inline"] = true
        },  
    }}}
}
One = http:JSONEncode(One)

http:PostAsync("The webhook URL was here.", One)

NOTE: All the values come from a remote event that was fired from another script, but I really don't think that's part of this issue.

Does anyone here know why it's not working for Mobile?

Answer this question