I’m using the following resources in my server to link discord roles to ace permissions in my fivem server. I am using “discord_perms”, “Badger_Discord_API” and “DiscordAcePerms”. I have it setup like it should be and have my server.cfg like he says to here:
# Discord Permissions
add_ace resource.DiscordAcePerms command.add_principal allow
add_ace resource.DiscordAcePerms command.remove_principal allow
start Badger_Discord_API
start discord_perms
start DiscordAcePerms
I get no error until a user tries to join the server and when they do I get an error in the console stating: SCRIPT ERROR: citizen/scripting/lua/scheduler.lua:903: No such export GetDiscordRoles in resource Badger_Discord_API
Let me know if anyone has any solutions
here are the links to those resources also if you would like to try and recreate the error: Discord API: [RELEASE] Badger_Discord_API DiscordAcePerms: DiscordAcePerms [Release] and discord_perms: Discord roles for permissions (im creative, i know)