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

Discord Connection with Roblox Feedback?

Hello, I want to ask how can I make Discord Feedback for my game? I really need instructions how to make it! I'm noob in Lua world but if anyone answer it please explain how to make it.

1 comment

0

Calling yourself a "noob" won't get you anywhere.

1 answer

✓ Accepted answer

Lovely old HttpService

local dataToSend = {
	['username'] = "Hello", --Discord has two parameters, "username" and "content"
	['content'] = "Test"	--Thank you.
}

local WebhookURL = "https://discordapp.com/api/webhooks/284468980192903168/GJwWo-WI_sF5ZJSiyXiP8bl-4fUFnXk-gWu3hRI8nq6rqn0kxxulHfBXRfU-mcp7N2SK" --Replace with your Webhook URL

local data = game:GetService("HttpService"):JSONEncode(dataToSend) --Encode into JSON which can be sent over the web

game:GetService("HttpService"):PostAsync(WebhookURL, data) --Send it

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