Give roles back when members rejoin
Turn on sticky roles so members get their roles back when they return, and can't shed a mute by leaving.
- About 3 minutes
- In Discord
- 4 steps
Before you start
- The Premium plan in your server
- Administrator
Turn on sticky roles
Run /sticky roles set with enable set to true. From then on, Element remembers a member's roles when they leave.
Choose when roles come back
By default, roles come back the moment a member rejoins. Two settings change that:
- automatic_deployment_role waits until the member has a role, such as your verified role, so returning members still go through verification.
- automatic_deployment set to false stops giving roles back by themselves. Staff then use
/sticky roles apply, or members use/sticky roles reclaim.
Block roles that shouldn't come back
Run /sticky roles block and pick roles that should never be given back, like a temporary event role. /sticky roles blocked lists them, and /sticky roles unblock removes one.
Roles with Administrator or other wide permissions aren't given back either, unless the server owner turns on allow_harmful_roles.
Roles — 5
- MutedComes back
- Level 10Comes back
- Event 2026Blocked
- @everyone
Set how long roles are kept
retention_days is how long Element keeps a member's roles after they leave, from 7 to 365 days. It starts at 90. After that, the stored roles are deleted.
Check everything with /sticky roles settings.
1/4 Turn on sticky roles