This is a pretty simple resource to use, and it basically allows you to use discord roles as a means of “Authentication” for certain permissions.
In the config.lua, make sure to have a Discords bot token present (MAKE SURE NOT TO PREFIX IT WITH
Bot AS IT AUTOMATICALLY DOES THIS FOR YOU), and also the guild id of where you want the roles to be checked. The
roles table is formatted like such:
["Role Nickname"] = "Role ID" - You can get role id by doing @RoleName
you can also directly pass a role id, as long as you pass it as an int: