So I have a working webhook script that has been working for a while now, but today it isn’t working at all and is not posting what I need it to. This is a discord webhook btw. I then tried to change the webhook to a guided webhook to see if it was working there and it did. So I deleted the old webhook I was using and remade it and redid the link. But it still doesn’t work and I get the same error all the time.
code:
local HttpService = game:GetService("HttpService")
local Players = game:GetService("Players")
local webhook = "https://discord.com/api/webhooks/webhookstuff"
Cmdr.RemoteFunction.OnServerInvoke = function (player, text, options)
local cmdrdata = {
content = player.Name..": "..text;
}
HttpService:PostAsync(webhook, HttpService:JSONEncode(cmdrdata))
return Cmdr.Dispatcher:EvaluateAndRun(text, player, options)
end
This exact same thing is happening with me, I have a script which makes a webhook post a message to Discord when a player joins. It just started today.
Discord blocked Roblox API I think. Someone just annouce about this one of my Discord Server. I would suggest to use Guilded.gg which is made by Roblox itself. There’s webhook thing there!
Cloudflare DNS has blocked Roblox requests from reaching Discord due to the fact that some developers have ignored their previous warning(s) about using the HTTPService for spammy things such as join logs and such.
This is not true, discord webhooks still work. Cloudfare has not blocked Roblox requests from reaching Discord because they still do reach discord. Webhooks that were found to be breaking Discord’s TOS were blocked by discord, but this has always happened. Newly made webhooks should still work. I am still able to send messages from my roblox game to discord via a discord webhook, but it is important to not create spammy discord webhooks because they will eventually be blocked.