Loottables/logs/versionchecker now in Utility

This commit is contained in:
MrNewb committed 2025-01-09 07:44:59 -05:00
1 parent 971acc514d
commit b6a7dd0c20
3 files changed
+21 -19

No files matched your search

+2 -2
View File
@@ -1,9 +1,9 @@
Logger = {}
Utility = Utility or {}
local WebhookURL = BridgeServerConfig.WebhookURL
local LogoForEmbed = BridgeServerConfig.WebhookImage
Logger.SendLog = function(src, message)
Utility.SendLog = function(src, message)
if not src or not message then return end
if BridgeServerConfig.LogSystem == "builtin" then
PerformHttpRequest(WebhookURL, function(err, text, headers) end, 'POST', json.encode(