Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local original
- original = hookfunction(request, function(req)
- if type(req) ~= "table" then
- return original(req)
- end
- local url = tostring(req.Url or req.url or "")
- if url:lower():find("discord") then
- warn("Webhook blocked:", url)
- return {
- Success = false,
- StatusCode = 403,
- Body = "",
- }
- end
- return original(req)
- end)
Advertisement