-
Notifications
You must be signed in to change notification settings - Fork 0
/
cmd.json
97 lines (97 loc) · 2.23 KB
/
cmd.json
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"name": "mychannel",
"description": "Rubber duck channel commands",
"type": 1,
"default_permission": true,
"options": [
{
"name": "action",
"description": "Moderate your channel",
"type": 2,
"options": [
{
"name": "mute",
"description": "Mute a user from your channel (they may still read the channel)",
"type": 1,
"options": [
{
"name": "user",
"description": "User to be muted",
"type": 6,
"required": true
},
{
"name": "reason",
"description": "Reason for muting (only visible to staff)",
"type": 3,
"required": true
}
]
},
{
"name": "unmute",
"description": "Unmute a user from your channel",
"type": 1,
"options": [
{
"name": "user",
"description": "User to be unmuted",
"type": 6,
"required": true
}
]
}
]
},
{
"name": "configure",
"description": "Configure your channel",
"type": 1,
"options": [
{
"name": "visibility",
"description": "Change your channel visibility",
"type": 3,
"choices": [
{
"name": "public",
"value": "public"
},
{
"name": "private",
"value": "private"
}
]
}
]
},
{
"name": "delete",
"description": "Delete your channel",
"type": 1,
"options": [
{
"name": "confirm",
"description": "Do you really want to delete your channel?",
"type": 3,
"required": true,
"choices": [
{
"name": "yes",
"value": "yes"
},
{
"name": "no",
"value": "no"
}
]
},
{
"name": "reason",
"description": "Optional feedback for channel deletion (only visible to staff)",
"type": 3
}
]
}
]
}