Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to make a suggestion GUI that imports to discord?

So in my game I want there to be a suggestion box in my game that uploads text to my discord. I know how to make the Enter button and all, but I don't know how would I upload it to discord? Here is my local script inside the enter button so far:

script.Parent.MouseButton1Click:Connect(function()
    local text = tostring(script.Parent.Parent.TextBox.Text)
    --somehow send text to my discord
end)

Any help would be greatly appreciated. Thanks in advance!

1 comment

0

Youtube has a lot of helpful tutorials on how to use webhooks with roblox

1 answer

✓ Accepted answer

Even though scriptinghelpers is not (but sometimes) a request site, I will help you. You need to use the game:GetService("HttpService"), and you need to use the HttpService:JSONEncode() know how to use webhooks. There's a tutorial on how to add webhooks, which I'll link it here: DevForum Post To Webhooks

This discussion is preserved as it was. New answers, comments, and votes are closed.