/[sudobot]/trunk/docs/app/(docs)/commands/automation/temprole/page.mdx
ViewVC logotype

Contents of /trunk/docs/app/(docs)/commands/automation/temprole/page.mdx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 626 - (show annotations)
Sat Sep 7 09:38:45 2024 UTC (6 months, 3 weeks ago) by rakinar2
File size: 712 byte(s)
chore: sync with git

1 ---
2 title: "Command: `temprole`"
3 short_name: temprole
4 ---
5
6 import Modes from "@/components/MDX/Modes";
7
8 # `temprole`
9
10 Temporarily gives a role to a member.
11
12 ## Notes
13
14 If you don't specify a unit of time like s, m, h, etc, it will default to seconds. So if you put 100 by itself, it will put it down as 100 seconds.
15
16 ### Syntax
17
18 ```
19 -temprole [time] [user] [role]
20 /temprole member: [member] role: [role] duration: [how long you want user to have role for] start_after: [time] (OPTIONAL)
21 ```
22
23 ### Required Permissions
24
25 `ManageRoles`
26
27 ### Modes
28
29 <Modes modes={["legacy", "interaction"]} />
30
31 ### Examples
32
33 ```
34 -temprole 10m @ninsacc @Role 1
35 /temprole member: @ninsacc role: @Role 2 duration: 10m start_after: 1m
36 ```

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26