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

im trying to make a discord webhook but i get the http 400 bad request error ?

Asked by 6 years ago
local http = game:GetService("HttpService")
local url = "https://discordapp.com/api/webhooks/407041705968402432/O2f-uZcLKlTR1WWEp12W1EgM-ThDysJsUfnpxZ8RWfTU01A8NL3BGl_6LPI_ifi5Teyp"

local tb = {
    username = "popthecorn145";
    msg = "hello";
}

wait(2)
print("oof")
http:PostAsync(url,http:JSONEncode(tb))

heres my script idk what im doint wrong..

1 answer

Log in to vote
0
Answered by 6 years ago

I'm not sure if I'm right, but I believe ROBLOX doesn't support Discord. However, they do support sites like Facebook, Twitter, YouTube etc. Hope I helped. :)

0
iv seen videos and everything about people being able to use the discord webhooks but they might of patched it by now. thanks for you responce popthecorn145 16 — 6y
0
Np CaptaiinNoob 52 — 6y
Ad

Answer this question