temprole timed_role
Command Title
/temprole timed_role
Description
This command allows you to create or modify a timed role, which is a role that is automatically removed from users after a specified duration. This is useful for temporary access, event-based roles, or trial memberships.
Usage
/temprole timed_role <role> <duration>
Parameters
<role>
: Select the role to make temporary.<duration>
: Set the duration (e.g., 12h, 7d). Max 30d. Premium: Unlimited.
Examples
-
Example 1: Create a timed role
@Guest
that expires after24 hours
:/temprole timed_role role:@Guest duration:24h
-
Example 2: Create a timed role
@VIP
that expires after7 days
:/temprole timed_role role:@VIP duration:7d
-
Example 3: Modify the timed role
@Guest
to expire after12 hours
:/temprole timed_role role@Guest duration:12h
Notes
- The duration can be specified in hours (h) or days (d).
- The maximum duration is 30 days for standard users. Premium users have unlimited duration.
- If a user already has the specified timed role, the duration will be updated to the new value.
FAQ
-
Q: Can I create a timed role that lasts for more than 30 days?
A: Yes, premium users can create timed roles with unlimited duration.
-
Q: What happens if a user leaves and rejoins the server while they have a timed role?
A: The timer will continue to run even if the user leaves and rejoins the server.
-
Q: Can I see a list of all active timed roles on my server?
A: Use the
/temprole list
command to see a list of all active timed roles.