Role Mapping
Learn more about mapping Discord roles in Sonoran CMS!
Mapping Discord Roles and CMS Ranks
In the Administration
panel of the CMS, navigate to Integrations
> Discord
> Role Mapping
Here, you can configure your CMS x Discord Mappings.
Example Mapping
Use Case:
I want to grant each administrative rank in the CMS (
moderator
,admin
, etc.) an associated Discord role (moderator
,admin
, etc.).I also want everyone who has one of those administrative ranks to also have the general
Staff
Discord role.
Steps:
➡️Mapping:
Create a mapping from every administrative rank in the CMS (
moderator
,admin
, etc.) to theStaff
Discord role:
This grants the
Staff
Discord role if the user has either theAdmin
,Moderator
,Super Admin
, orManager
CMS rank(s).
⬅️➡️ Mapping
Create a mapping for each administrative rank to its associated Discord role:
Sync the
Admin
CMS rank with theAdmin
Discord role.Sync the
Moderator
CMS rank with theModerator
Discord role.Sync the
Super Admin
CMS rank with theSuper Admin
Discord role.Sync the
Manager
CMS rank with theManager
Discord role.
Note: I do NOT add the Staff
Discord role to every ⬅️➡️ mapping, as granting the user the Staff
Discord role would then grant every remaining administrative rank to the user.
Remember, if a user has any piece to a ⬅️➡️ mapping they will receive the entire mapping.
Syncing the Role Map
After modifying the mapping, your community will automatically be re-synced. This may take a couple of minutes to complete.
While changes are automatic, you can also manually re-sync users with the /sync
command.
Setting the flag community
to Yes
will sync your entire community including any linked guilds. Setting it to no or running /sync
by itself will only sync the server you run it in.
Last updated