Because I want the text input from a text box to send to discord But that has to be set to description, right?
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local remotes = ReplicatedStorage.Remotes
remotes.DiscordSend.OnServerEvent:Connect(function()
local textboxinput = script.Parent.Parent.StarterGui.ScreenGui.Frame.TextBox.Text
local http = game:GetService("HttpService")
local url = ""
local data = {
['embeds'] = {{
['title'] = "**PRIVATE FLIGHT BOOKING**",
['description'] = textboxinput,
['color'] = 16095761,
}}
}
local finaldata = http:JSONEncode(data)
http:PostAsync(url,finaldata)
end)

1 comment
I would recommend you using this: https://devforum.roblox.com/t/open-source-easy-webhook-discord-webhooks-integration-module/546465