π Role link#
This system allows you to create dependencies between roles and thus manage automatically the gain/withdrawal of roles according to the acquisition or loss of other roles. To create a link between roles, you will need to perform the command:
/rolelink add <action> <target_role> when <trigger> <tigger_roles>
Where
<action>
can take the valuegrant
orrevoke
.<target_role>
is the ID or mention of the role that will be given/removed automatically.<trigger>
corresponds to the trigger for the action, which can take the valueget-one
,get-all
,loose-one
orloose-all
.<trigger_roles>
is the list of roles targeted by the trigger.
To see the list of links between roles, you can enter the command :
/rolelink list
To remove one of them, you can simply do:
/rolelink remove <ID>
Where <ID>
is the number present in front of the corresponding role links in the link list.
π€ Help us to improve this documentation!
If you want to help us to improve this documentation, you can edit it on the GitHub repo or come and discuss with us on our Discord server!