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

Contents of /trunk/docs/app/(docs)/commands/automation/ballot/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: 972 byte(s)
chore: sync with git

1 ---
2 title: "Command: `ballot`"
3 short_name: ballot
4 ---
5
6 import Modes from "@/components/MDX/Modes";
7
8 # `ballot`
9
10 Allows you to manage ballots. Ballots are polls, where you can cast a vote about something.
11
12 ### Aliases
13 `poll`
14
15 ### Syntax
16
17 ```
18 -ballot create [content]
19 -poll create [content]
20 -ballot delete [ID]
21 -poll delete [ID]
22 /ballot create content: [content] anonymous: True/False (OPTIONAL) channel: [channel] (OPTIONAL)
23 /ballot delete id: [id]
24 /ballot view id: [id]
25 /ballot votelist id: [id] mode: All Votes/Upvotes/Downvotes (OPTIONAL)
26 ```
27
28 ### Required Permissions
29
30 `None`
31
32 ### Modes
33
34 <Modes modes={["legacy", "interaction"]} />
35
36 ### Examples
37
38 ```
39 -ballot create Does pineapple belong on pizza?
40 -poll create Should AI replace our jobs?
41 -ballot delete 83
42 -poll delete 96
43 /ballot create content: Do you want an improvement to this discord server? anonymous: True channel: #general
44 /ballot delete id: 83
45 /ballot view id: 96
46 /ballot votelist id: 96 mode: All Votes=
47 ```

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26