Files
Elite-Gaming-FiveM/resources/[ERS]/night_discordapi/config.lua
T
KingMcDonalds 1067b5e291 fixing ers
2025-07-22 23:28:59 -07:00

45 lines
2.9 KiB
Lua

------------------------------------------------------------------------------------
--------------------------------- night_discordapi ---------------------------------
------------------------------------------------------------------------------------
-------------------------------------- Config --------------------------------------
------------------------------------------------------------------------------------
-- Please read the documentation and/or watch the installation video tutorial (available on the documentation page) before asking us for support.
-- Documentation Page: https://docs.nights-software.com/resources/discordAPI/ (<- INSTALLATION GUIDE HERE)
-- Support Discord: https://discord.nights-software.com/
Config = {
-- No own bot? Leave it as default and invite ours » https://discord.com/oauth2/authorize?client_id=956690799385522237&permissions=1024&scope=bot
-- If you do have a bot: define your BOT token below, inbetween the quotation marks: "bot_token",
Discord_Bot_Token = "NzUxOTY4NTY3MzA5NzYyNjgw.GzVJ9D.kAxZs0UBN-XxcSJPBRqo6zrp1L_KsjoBHibYYE",
Discord_Guild_Names = { -- Add your Discord Servers/Guilds by their ID here, when fetching something with this resource, we try and get as much information as possible from all your guilds
["361895986198609920"] = "Elite Groupe", -- Your primary server/guild ID (legacy scripts will get information regarding this guild)
},
Discord_Role_Names = { -- Add Discord roles by their role ID here, name them how you want but make sure to use the same name in other configs of our resources.
-- Example:
["361899298209923075"] = "EG|Owner",
["789553875152535593"] = "EG | Development Team",
["650653280275267591"] = "EG | Head of Staff",
["556158473981788176"] = "EG | Sr. Admin",
["635155687688634399"] = "EG | Admin",
["789538166536798248"] = "EG | Sr. Moderator",
["517060882686279701"] = "EG | Moderator",
["789551229549281331"] = "EG | Sr. Staff",
["608583076037001225"] = "EG | Staff",
["538822780662054963"] = "EG | Helper",
["586249238623551528"] = "EG | Staff Team",
["1231114889234219089"] = "Sheriff",
["807381510026035240"] = "Dispatcher",
["807381507622305852"] = "FiveM First Responder 🚨",
["807381508859887667"] = "CHP",
["807381509195300905"] = "CALFIRE",
["807381508167565352"] = "First Responders",
["807398679937417237"] = "Mechanic",
["876585455615889450"] = "Civilian II",
["468677647228363421"] = "Banned",
},
Discord_API_Cooldown = 2, -- Number of seconds between each API request. At least 2 is recommended.
Discord_API_Log_Level = 3, -- 0 = Disabled, 1 = Errors only, 2 = Errors and warnings, 3 = All messages.
Discord_API_Log_SameMessageCooldown = 5 -- Number of seconds between API request errors with the same message.
}