Skip to main content

Role Trigger

info

Until this command is stress tested by users its still a beta feature

Setup a rule that modify roles when an action is taken on another role

Examples

  • Verified role is added, remove the waiting room role
  • Holder Role is added, add the member role
  • Member role is removed, remove the member role

Setupโ€‹

Run the commandโ€‹

/role-trigger setup role-to-watch: role-to-watch-type: role-to-change: role-change-type:

The parameters are as followsโ€‹

  • role-to-watch -> which role to watch for changes
  • role-to-watch-type -> the type of change to watch for [add/remove]
  • role-to-change -> the role to add or remove to the user
  • role-to-change-type -> the type of action to take when the watch role is changed [add/remove]

Streamline will then prompt you to check

Once Authorised Streamline will then add this to the database and monitor for changes

Viewing your active triggersโ€‹

To view the actively setup triggers in your server run the command

/role-trigger view 

Removing the active triggersโ€‹

To remove the actively setup triggers in your server run the command

/role-trigger delete