updated docs

This commit is contained in:
Evil Factory
2021-09-23 16:14:39 -03:00
parent 1f04fea3cc
commit 8d52f2d664
2 changed files with 5 additions and 7 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ Hook.Add("chatMessage", "discordIntegration", function (msg, client)
local escapedName = escapeQuotes(client.name)
local escapedMessage = escapeQuotes(msg)
Networking.RequestPostHTTP(discordWebHook, '{\"content\": \"'..escapedMessage..'\", \"username\": \"'..escapedName..'\"}')
Networking.RequestPostHTTP(discordWebHook, function(result) end, '{\"content\": \"'..escapedMessage..'\", \"username\": \"'..escapedName..'\"}')
end)
```