I know its part of the ['username'] because it works, but it stops working when I have the string and the plr.UserId together
local url = "https://discord.osyr.is/api/webhooks/my-webhook"
local http = game:GetService('HttpService')
game.ReplicatedStorage.RemoteEvent.OnServerEvent:Connect(function(plr, msg)
local data = {
['username'] = plr.Name.." User Id: "..plr.UserId,
['content'] = msg
}
local newdata = http:JSONEncode(data)
http:PostAsync(url,newdata)
print('sent')
end)

5 comments
P.S It DOES print "sent"
I believe discord blocks roblox requests, but i'm not to sure. Reach out to them on twitter
he's using osyr.is thingy so discord doesn't block it
Is FE enabled?
Filtering Enabled is on, yes