Use Sonoran CMS to link your discord roles to CMS and CAD permissions instead if you plan to/already use Sonoran CMS. Simply link Sonoran Bot to Sonoran CMS and setup Sonoran CMS -> Sonoran CAD permission sync
In addition to automatically adding users when applications are accepted, Sonoran CMS can also manage your community's CAD permissions!
If you don't use CMS, don't worry! You can still set up CAD role mapping normally.
Additionally, you must have the Manage Server permission on the Discord server in order to set up this process.
The bot provides a brand new menu to assist you with assigning roles to permissions. To start, select the role you wish to map permissions to from the dropdown.
Once you've selected a role, you can use the linked tool to toggle what permissions that a user with this role should receive. It will generate a number corresponding to the selected permissions that you can copy and input in the next step.
Set Mapping will present an option to specify a code (generated using the linked tool) or an existing permission key. Enter "0" as the permission mask to delete the current mapping instead.
Successfully entering this information will bring you back to the main role mapping screen with the new permission set.
If you've linked your Discord to CMS, CAD permissions will be handled by CMS > CAD integration
/linkmeto link their Sonoran CAD account to their current Discord account. This will automatically populate their API ID.
/synccommand in Discord to force a permissions sync.
Now, whenever a role is added or removed, the bot will automatically update the user's permissions to match! If the user ever leaves the server, the bot will immediately remove all permissions from their account, although they will still be in the community.
Sometimes, you may wish to change your secret ID. If you do so, you must run
/linkme again or the bot will remove all your permissions on Sonoran CAD (if the optional security setting below is enabled).
By default, the bot will not remove permissions from users who do not have a matching secret key to their Discord ID. This can be enabled by setting
Toggle Strip Unmapped to
ENABLED within the