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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 577 - (show annotations)
Mon Jul 29 18:52:37 2024 UTC (8 months, 1 week ago) by rakinar2
File size: 1018 byte(s)
chore: add old version archive branches (2.x to 9.x-dev)
1 ---
2 title: "Command: `queue add` - SudoBot"
3 short_name: add
4 ---
5
6 import Modes from "@/components/MDX/Modes";
7
8 # `queue add`
9
10 Creates a new command queue.
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 If you delete the original message for the command **BEFORE** the time finishes, it won't run.
16
17 ### Aliases
18 `queueadd`
19 `addqueue`
20 `createqueue`
21
22 ### Syntax
23
24 ```
25 -queue add [time to wait] [command to run]
26 -queueadd [time to wait] [command to run]
27 -addqueue [time to wait] [command to run]
28 -createqueue [time to wait] [command to run]
29 /queue add run_after: [time] command: [command you want to run when the time is up]
30 ```
31
32 ### Required Permissions
33
34 `ManageMessages`
35
36 ### Modes
37
38 <Modes modes={["legacy", "interaction"]} />
39
40 ### Examples
41
42 ```
43 -queue add 30s send @user Hello world!
44 -queueadd 1m restart
45 -addqueue 5s ban @user
46 -createqueue 3s temprole @user 1m
47 /queue add run_after: 30s command: afk busy
48 ```

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26