------------------------------------------------------------------------------------ --------------------------------- 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"] = "Nights Software", -- Your primary server/guild ID (legacy scripts will get information regarding this guild) -- ["1001055923912653544"] = "My Community Discord", -- Add another (secondary) guild ID and Name to your liking. Make sure to invite the bot into 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: ["Silver Supporter ๐Ÿฅˆ"] = "596414797977878530", ["Gold Supporter ๐Ÿฅ‡"] = "742482159851536455", ["Platinum Supporter ๐Ÿ’ "] = "742482158945566771", ["Diamond Supporter ๐Ÿ’Ž"] = "742482161680122047", ["LSPD"] = "807381507622305852", ["BCSO"] = "807381508167565352", ["SASP"] = "807381508859887667", ["SAFD"] = "807381509195300905", ["Civilian I"] = "813907383892967424", ["Civilian II"] = "876585455615889450", ["Civilian III"] = "876585456387629066", ["Civilian IV"] = "876585900946128936", ["Civilian V"] = "876585431901294663", ["EG | Helper"] = "538822780662054963", ["EG | Staff"] = "608583076037001225", ["EG | Sr. Staff"] = "789551229549281331", ["EG | Moderator"] = "517060882686279701", ["EG | Sr. Moderator"] = "789538166536798248", ["EG | Admin"] = "635155687688634399", ["EG | Sr. Admin"] = "556158473981788176", ["EG | Head of Staff"] = "650653280275267591", ["EG | Server Developer"] = "671141073728307228", ["EG | Owner"] = "361899298209923075", ["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. }