Skip to content

Commit

Permalink
fix(es_extended/server/functions): fix admin logs
Browse files Browse the repository at this point in the history
  • Loading branch information
Kenshiin13 committed Jan 25, 2025
1 parent 2dac443 commit db5128f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions [core]/es_extended/server/functions.lua
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,11 @@ end
---@param fields table
---@return nil
function ESX.DiscordLogFields(name, title, color, fields)
for i = 1, #fields do
local field = fields[i]
field.value = tostring(field.value)
end

local webHook = Config.DiscordLogs.Webhooks[name] or Config.DiscordLogs.Webhooks.default
local embedData = {
{
Expand Down

0 comments on commit db5128f

Please sign in to comment.