JaredScar / Badger_Discord_API

A FiveM API Script [created by Badger]
MIT License
56 stars 48 forks source link

Support #31

Closed DeffoNotConnor closed 1 year ago

DeffoNotConnor commented 1 year ago

Config = { Guild_ID = '1067585176969957396', -- Set to the ID of your guild (or your Primary guild if using Multiguild) Multiguild = false, -- Set to true if you want to use multiple guilds Guilds = { ["main"] = "1067585176969957396", -- Replace this with a name, like "main" }, Bot_Token = '[REDACTED], RoleList = { ['Owner'] = 1067912263501086740, ['Co-Owner'] = 1067912264805531819, ['Flux-keys'] = 1068287416164679700, ['HighStaff'] = 1067912316106047488, ['SeniorStaff'] = 1067912317813149756, ['Staff'] = 1067912319029493860, ['TACOPS'] = 1067912388784959559, ['Server_Booster'] = 1067957120194068550, ['hidden'] = 1077980374703022160, ['Member'] = 1068680726649782423 ['2018Charger'] = 1067912377246421085, }, CacheDiscordRoles = true, -- true to cache player roles, false to make a new Discord Request every time CacheDiscordRolesTime = 60, -- if CacheDiscordRoles is true, how long to cache roles before clearing (in seconds) }

Config.Splash = { Header_IMG = 'https://cdn.discordapp.com/attachments/1057657624272830595/1059553028602069113/IMG_4603.png', Enabled = true, Wait = 10, -- How many seconds should splash page be shown for? (Max is 12) Heading1 = "Welcome to Florida State Roleplay", Heading2 = "Make sure to join our Discord and check out our website!", Discord_Link = 'https://discord.gg/DwfA2y6CQr', Website_Link = '', }

Can someone help why I'm getting errors.

image