local http = game:GetService(“HttpService”)
webhook = “URL”
local Data = {
[“content”] = “Hey! This is a message sent from roblox!”
}
Data = http:JSONEncode(Data)
http:PostAsync(webhook, Data)
CODE FROM Discord Integration: A guide on using Discord through Roblox [UPDATED]