Temp Role
Assign a role with an automatic expiry โ the bot removes it when time is up.
Overview
Temp Role assigns a role for a limited time. When the duration expires, AutoRole automatically revokes the role โ no manual cleanup needed.
Commands
| Command | Description |
|---|---|
/temprole give user:<user> role:<role> duration:<time> |
Assign a temporary role |
/temprole revoke user:<user> role:<role> |
Remove a temp role early |
/temprole list |
Show all active temporary roles |
Duration format
| Input | Meaning |
|---|---|
30m |
30 minutes |
2h |
2 hours |
7d |
7 days |
30d |
30 days (maximum) |
Example
/temprole give user:@Username role:@VIP duration:7d
Notes
- Maximum duration is 30 days.
- The role is removed automatically even if the bot restarts.
- Use
/temprole listto see remaining time for all active temp roles.