My discord bot stays offline as well, I don’t think it is a problem though, as all of the scripts that use it work fine. If you check the live log in your server, it’ll tell you of it’s connected.
You would of done something wrong
Release - 2.3
- Re-coded whole resource into Javascript
- Updated to new Discord permissions system. A complete reinstall is required .
- Added blacklist via roles.
- Added a debug mode
- Updated manifest.
I installed this and put in the correct role IDs. I am also using the most recent discordperms resource. I have it set to be using discord perms, and I have the roles. I also have my FiveM and Discord accounts linked. I have discordperms fully setup as well. However, when I try to set the AOP or PT, it says I don’t have permission. From what I can tell it looks like the function that gets the users discord permissions and checks that they are valid is returning null. I’m not fluent in Lua so I might be wrong, but I know it’s not letting me set the AOP even with the discord roles.
It will and should. Make sure you follow the documentation on it…
Hello I have this problem “SCRIPT ERROR in timer: Error: No such export isRolePresent in resource discordroles”
Can you help me ?
And this “DiscordWhitelist: Hello Lubo dA KinG. Your Discord ID is being checked with our whitelist.”
Follow the install guide correctly.
Hello, i’m facin’ a problem, i’ve done everythin’ right, but i’m gettin’ this error for an unknown reason,
InvokeNative: execution failed: No current resource manager.
There is no config.js when i download
the guide really should be more understandable, as not everyone understand English\the references well … either a YouTube video or a readably\easy to understand guide. Thanks for the cool script
The guide is pretty straight forward and in steps…
@FAXES Can you use that to not only give access to the server to people whitelisted, but also, to allow them specific things based on some discord role: this or that vehicles, this or that props/option… ?
Yes you can. Just use the exports from the discordroles
resource.
Getting the “No such export isRolePresent in resource discordroles”
Followed the install guide, named the folders properly. Not sure where to go from here on that one.
followed all steps whitelist is working good on my server but the bot is not login , im sseing the bot on offline list on discord ,
i try to to
/resources/discordroles/
nodejs index.js
im using linux
That’s fine. Doesn’t have to be online.
Tell them to read it and use the link. Might just solve their issues
why i have this error on my server console :
[discordroles] authentication error, exports wont run.
Nice man, I just don’t understand what the blacklist system is for because when you have the blacklist + whitelist role you can access and also if you put zero role you cannot enter so in itself the blacklist system is similar to when you don’t have roles