Skip to content

Commit

Permalink
Now features the ID in there name
Browse files Browse the repository at this point in the history
  • Loading branch information
Tazi0 committed May 7, 2019
1 parent af79a0d commit 071b978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Serverlogging/server.lua
Expand Up @@ -11,7 +11,7 @@ local DISCORD_NAME = "System"


AddEventHandler('chatMessage', function(source, name, message)
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' })
end)

AddEventHandler('playerConnecting', function()
Expand Down

0 comments on commit 071b978

Please sign in to comment.