-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcommands.json
More file actions
637 lines (637 loc) · 16 KB
/
commands.json
File metadata and controls
637 lines (637 loc) · 16 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
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
{
"meta": [
{
"name": "ping",
"description": "Test the bot latency",
"options": [],
"permission_level": "global"
},
{
"name": "uptime",
"description": "See how long the bot has been online",
"options": [],
"permission_level": "global"
},
{
"name": "commit",
"description": "See what git commit the bot is currently running on",
"options": [],
"permission_level": "admin"
},
{
"name": "sendmessage",
"description": "Send a message as the bot",
"options": [
{
"name": "message",
"description": "Message to send",
"type": 3,
"required": true,
"max_length": 2000
}
],
"permission_level": "admin"
},
{
"name": "announce",
"description": "Send an announcement as the bot",
"options": [
{
"name": "message",
"description": "Message to send",
"type": 3,
"required": true,
"max_length": 4096
},
{
"name": "title",
"description": "Title for the announcement embed. Defaults to \"Announcement\"",
"type": 3,
"required": false,
"max_length": 256
},
{
"name": "ping",
"description": "Role to ping",
"type": 8,
"required": false
}
],
"permission_level": "admin"
},
{
"name": "dm",
"description": "Send a private message as the bot",
"options": [
{
"name": "user",
"description": "Member to send the message to",
"type": 6,
"required": true
},
{
"name": "message",
"description": "Message to send",
"type": 3,
"required": true,
"max_length": 1024
}
],
"permission_level": "admin"
},
{
"name": "remindme",
"description": "Remind yourself of something",
"options": [
{
"name": "time",
"description": "Amount of time to be reminded in. For example: 1d2h3m4s (1 day, 2 hours, 3 minutes, and 4 seconds)",
"type": 3,
"required": true,
"max_length": 84
},
{
"name": "reminder",
"description": "What you're reminding yourself of",
"type": 3,
"required": false,
"max_length": 4096
}
],
"permission_level": "global"
},
{
"name": "set-bump-timer",
"description": "Set the DISBOARD bump reminder timer",
"options": [
{
"name": "minutes",
"description": "Number of minutes to set the timer to (defaults to 2 hours)",
"type": 4,
"required": false,
"min_value": 0
}
],
"permission_level": "admin"
},
{
"name": "appeal-respond",
"description": "Respond to a ban appeal",
"options": [
{
"name": "id",
"description": "ID of user who submitted the appeal",
"type": 3,
"required": true,
"max_length": 20
},
{
"name": "response",
"description": "Accept the ban appeal?",
"type": 5,
"required": true
}
],
"permission_level": "admin"
},
{
"name": "application-respond",
"description": "Respond to a staff application",
"options": [
{
"name": "id",
"description": "ID of user who submitted the application",
"type": 3,
"required": true,
"max_length": 20
},
{
"name": "response",
"description": "Accept the application?",
"type": 5,
"required": true
}
],
"permission_level": "admin"
}
],
"moderation": [
{
"name": "create-ticket",
"description": "Open a moderation ticket",
"options": [
{
"name": "title",
"description": "Title of the ticket",
"type": 3,
"required": true,
"max_length": 100
}
]
},
{
"name": "purge",
"description": "Delete a number of messages at once",
"options": [
{
"name": "messages",
"description": "Number of messages to delete",
"type": 4,
"required": true,
"min_value": 2,
"max_value": 100
},
{
"name": "channel",
"description": "Channel to delete messages from",
"type": 7,
"required": true
},
{
"name": "reason",
"description": "Reason for deleting the messages",
"type": 3,
"required": false,
"max_length": 1024
}
],
"permission_level": "moderator"
},
{
"name": "userinfo",
"description": "Display information about a user",
"options": [
{
"name": "user",
"description": "User to collect info on (defaults to user running the command)",
"type": 6,
"required": false
}
],
"permission_level": "support_team"
},
{
"name": "inviteinfo",
"description": "Display information about a server invite",
"options": [
{
"name": "code",
"description": "Code for invite to get information on (not the whole link)",
"type": 3,
"required": true
}
],
"permission_level": "support_team"
},
{
"name": "warn",
"description": "Give a user a warning",
"options": [
{
"name": "user",
"description": "User to warn",
"type": 6,
"required": true
},
{
"name": "reason",
"description": "Warning message",
"type": 3,
"required": true,
"max_length": 1024
}
],
"permission_level": "trial_mod"
},
{
"name": "unwarn",
"description": "Undo a warning",
"options": [
{
"name": "id",
"description": "ID of the original warning message",
"type": 3,
"required": true,
"max_length": 20
},
{
"name": "reason",
"description": "Reason for undoing the warning",
"type": 3,
"required": true,
"max_length": 1024
}
],
"permission_level": "trial_mod"
},
{
"name": "mute",
"description": "Prevent a user from sending messages",
"options": [
{
"name": "user",
"description": "User to mute",
"type": 6,
"required": true
},
{
"name": "time",
"description": "Amount of time to mute for. For example: 1d2h3m4s (1 day, 2 hours, 3 minutes, and 4 seconds)",
"type": 3,
"required": true,
"max_length": 84
},
{
"name": "reason",
"description": "Reason for mute",
"type": 3,
"required": false,
"max_length": 1024
}
],
"permission_level": "trial_mod"
},
{
"name": "unmute",
"description": "Remove a mute on a user",
"options": [
{
"name": "user",
"description": "User to unmute",
"type": 6,
"required": true
},
{
"name": "reason",
"description": "Reason for removing mute",
"type": 3,
"required": false,
"max_length": 1024
}
],
"permission_level": "trial_mod"
},
{
"name": "kick",
"description": "Remove a user from the server",
"options": [
{
"name": "user",
"description": "User to kick",
"type": 6,
"required": true
},
{
"name": "reason",
"description": "Reason for kicking",
"type": 3,
"required": false,
"max_length": 1024
}
],
"permission_level": "moderator"
},
{
"name": "ban",
"description": "Ban a user from the server",
"options": [
{
"name": "user",
"description": "User to ban",
"type": 6,
"required": true
},
{
"name": "reason",
"description": "Reason for banning",
"type": 3,
"required": false,
"max_length": 1024
},
{
"name": "delete_message_hours",
"description": "Delete all of the user's messages posted up to this amount of hours ago. Max 168 hours (7 days)",
"type": 4,
"required": false,
"min_value": 0,
"max_value": 168
}
],
"permission_level": "moderator"
},
{
"name": "unban",
"description": "Remove a user's ban from the server",
"options": [
{
"name": "user",
"description": "User to unban",
"type": 6,
"required": true
},
{
"name": "reason",
"description": "Reason for removing ban",
"type": 3,
"required": false,
"max_length": 1024
}
],
"permission_level": "moderator"
},
{
"name": "warnings",
"description": "Get a list of moderation actions taken against a given user",
"options": [
{
"name": "user",
"description": "User to get warnings on",
"type": 6,
"required": true
}
],
"permission_level": "trial_mod"
}
],
"server_info": [
{
"name": "rules",
"description": "Get a list of server rules",
"options": []
},
{
"name": "rule",
"description": "Look at a specific server rule",
"options": [
{
"name": "rule",
"description": "Number of rule to look at",
"type": 4,
"required": true,
"min_value": 1
}
]
},
{
"name": "suggest",
"description": "Make a suggestion to improve the server",
"options": [
{
"name": "suggestion",
"description": "The suggestion to make",
"type": 3,
"required": true,
"max_length": 4080
}
]
},
{
"name": "suggestion-respond",
"description": "Respond to a suggestion",
"options": [
{
"name": "suggestion_id",
"description": "Message ID of the suggestion",
"type": 3,
"required": true,
"max_length": 20
},
{
"name": "accept",
"description": "Whether or not to accept the suggestion",
"type": 5,
"required": true
},
{
"name": "response",
"description": "Response to the suggestion",
"type": 3,
"required": true,
"max_length": 1024
}
],
"permission_level": "admin"
}
],
"db_commands": [
{
"name": "add-text-command",
"description": "Add a custom text-based database command",
"options": [],
"permission_level": "admin"
},
{
"name": "add-embed-command",
"description": "Add a custom embed-based database command",
"options": [
{
"name": "command_name",
"description": "Name of the command to create",
"type": 3,
"required": true,
"max_length": 32
},
{
"name": "command_description",
"description": "Description of the command to create",
"type": 3,
"required": true,
"max_length": 100
},
{
"name": "command_is_global",
"description": "True if the command should be available to run outside the server",
"type": 5,
"required": true
},
{
"name": "title",
"description": "Title for the embed to send when the command is run",
"type": 3,
"required": false,
"max_length": 256
},
{
"name": "url",
"description": "URL associated with embed title",
"type": 3,
"required": false
},
{
"name": "description",
"description": "Description for the embed",
"type": 3,
"required": false,
"max_length": 4096
},
{
"name": "color",
"description": "Accent color for the embed as an RGB hex code (ex. 0x00FF00 for pure green)",
"type": 4,
"min_value": 0,
"max_value": 16777215,
"required": false
},
{
"name": "thumbnail",
"description": "URL to image to show on the top right of the embed",
"type": 3,
"required": false
},
{
"name": "image",
"description": "URL to image to show near the bottom of the embed",
"type": 3,
"required": false
},
{
"name": "video",
"description": "URL to video file to play near the bottom of the embed",
"type": 3,
"required": false
},
{
"name": "timestamp",
"description": "Date and time (in Unix timestamp format) to put on the bottom of the embed",
"type": 4,
"required": false
},
{
"name": "author_name",
"description": "Author name",
"type": 3,
"required": false,
"max_length": 256
},
{
"name": "author_url",
"description": "URL associated with author name",
"type": 3,
"required": false
},
{
"name": "author_icon_url",
"description": "URL to icon image to show to the left of the author name",
"type": 3,
"required": false
},
{
"name": "footer_text",
"description": "Text to put in the embed footer",
"type": 3,
"required": false,
"max_length": 2048
},
{
"name": "footer_icon_url",
"description": "URL to icon image to show to the left of the footer text",
"type": 3,
"required": false
}
],
"permission_level": "admin"
},
{
"name": "add-embed-command-field",
"description": "Add a field to a custom embed-based database command",
"options": [
{
"name": "command_name",
"description": "Name of the command to modify",
"type": 3,
"required": true,
"max_length": 32
}
],
"permission_level": "admin"
},
{
"name": "remove-embed-command-field",
"description": "Remove an embed field in a custom database command",
"options": [
{
"name": "command_name",
"description": "Name of the command to modify",
"type": 3,
"required": true,
"max_length": 32
}
],
"permission_level": "admin"
},
{
"name": "edit-embed-command-field",
"description": "Edit an embed field in a custom database command",
"options": [
{
"name": "command_name",
"description": "Name of the command to modify",
"type": 3,
"required": true,
"max_length": 32
}
],
"permission_level": "admin"
},
{
"name": "remove-db-command",
"description": "Remove a database command",
"options": [
{
"name": "command_name",
"description": "Name of the command to modify",
"type": 3,
"required": true,
"length": 32
}
],
"permission_level": "admin"
},
{
"name": "db-command-list",
"description": "Get a list of commands in database",
"options": [],
"permission_level": "admin"
}
]
}