Updates
This commit is contained in:
parent
9b9b7645db
commit
a46239ea28
@ -1,4 +1,4 @@
|
|||||||
Description 'ngd-pdduty | Nemesis Gaming Development'
|
Description 'ngd-jobduty | Nemesis Gaming Development'
|
||||||
author 'deluce#0'
|
author 'deluce#0'
|
||||||
fx_version 'cerulean'
|
fx_version 'cerulean'
|
||||||
game 'gta5'
|
game 'gta5'
|
||||||
|
@ -126,7 +126,7 @@ function sendToDiscord(jobName, playerName, callsign, timeOnDuty, customMessage,
|
|||||||
local currentDateTime = os.date("%m-%d-%Y %H:%M:%S")
|
local currentDateTime = os.date("%m-%d-%Y %H:%M:%S")
|
||||||
local connect = {
|
local connect = {
|
||||||
{
|
{
|
||||||
["color"] = color or 255, -- Default color if none is provided
|
["color"] = color or 255,
|
||||||
["title"] = title,
|
["title"] = title,
|
||||||
["description"] = message,
|
["description"] = message,
|
||||||
["footer"] = {
|
["footer"] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user