forked from JohnnyJayJay/instant-poll
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommand.json
More file actions
56 lines (56 loc) · 1.31 KB
/
Copy pathcommand.json
File metadata and controls
56 lines (56 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
[{
"name" : "poll",
"description" : "Create and manage polls",
"options" : [ {
"name" : "create",
"description" : "Create a new poll",
"type" : 1,
"options" : [ {
"name" : "question",
"description" : "The poll question",
"type" : 3,
"required" : true
}, {
"name" : "1",
"description" : "Option no. 1",
"type" : 3,
"required" : true
}, {
"name" : "2",
"description" : "Option no. 2",
"type" : 3,
"required" : true
}, {
"name" : "3",
"description" : "Option no. 3",
"type" : 3,
"required" : false
}, {
"name" : "4",
"description" : "Option no. 4",
"type" : 3,
"required" : false
}, {
"name" : "5",
"description" : "Option no. 5",
"type" : 3,
"required" : false
}, {
"name" : "multi-vote",
"description" : "Whether users have multiple votes (default: false)",
"type" : 5
}, {
"name" : "close-in",
"description" : "A duration (in seconds) after which voting closes (default: no expiration)",
"type" : 4
} ]
}, {
"name" : "help",
"description" : "Display help for this bot",
"type" : 1
}, {
"name" : "info",
"description" : "Display information about this bot",
"type" : 1
} ]
}]