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

Contents of /branches/8.x/docs/app/(docs)/commands/automation/temprole/page.mdx

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (show annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months, 2 weeks ago) by rakinar2
File size: 722 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 ---
2 title: "Command: `temprole` - SudoBot"
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 ```

team@onesoftnet.eu.org
ViewVC Help
Powered by ViewVC 1.1.26