We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af79a0d commit 071b978Copy full SHA for 071b978
Serverlogging/server.lua
@@ -11,7 +11,7 @@ local DISCORD_NAME = "System"
11
12
13
AddEventHandler('chatMessage', function(source, name, message)
14
- PerformHttpRequest(DISCORD_WEBHOOK, function(err, text, headers) end, 'POST', json.encode({username = name, content = message}), { ['Content-Type'] = 'application/json' })
+ PerformHttpRequest(DISCORD_WEBHOOK, function(err, text, headers) end, 'POST', json.encode({username = name .. " [" .. source .. "]", content = message}), { ['Content-Type'] = 'application/json' })
15
end)
16
17
AddEventHandler('playerConnecting', function()
0 commit comments