This repository has been archived by the owner on Jan 3, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
commands.php
746 lines (646 loc) · 32.6 KB
/
commands.php
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
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
<?php session_start(); ?>
<p class=mt-2>The global invocation/prefix is <code>@Yuuko</code> (mention) and the custom prefix is automatically set to <code>-</code>, but can be changed. Using <code>-settings prefix !</code> will change the prefix and <code>-help [command]</code> will show you usage for the given command.</p>
<nav>
<div class="nav nav-tabs" id="nav-tab" role="tablist">
<a class="nav-item nav-link" id="command-audio-tab" data-toggle="tab" href="#command-audio" role="tab" aria-controls="command-audio" aria-selected="false">Audio <span id="command-audio-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link active" id="command-core-tab" data-toggle="tab" href="#command-core" role="tab" aria-controls="command-home" aria-selected="true">Core <span id="command-core-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link" id="command-fun-tab" data-toggle="tab" href="#command-fun" role="tab" aria-controls="command-fun" aria-selected="false">Fun <span id="command-fun-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link" id="command-interaction-tab" data-toggle="tab" href="#command-interaction" role="tab" aria-controls="command-interaction" aria-selected="false">Interaction <span id="command-interaction-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link" id="command-media-tab" data-toggle="tab" href="#command-media" role="tab" aria-controls="command-media" aria-selected="false">Media <span id="command-media-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link" id="command-moderation-tab" data-toggle="tab" href="#command-moderation" role="tab" aria-controls="command-moderation" aria-selected="false">Moderation <span id="command-moderation-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link" id="command-nsfw-tab" data-toggle="tab" href="#command-nsfw" role="tab" aria-controls="command-nsfw" aria-selected="false">NSFW <span id="command-nsfw-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link" id="command-utility-tab" data-toggle="tab" href="#command-utility" role="tab" aria-controls="command-utility" aria-selected="false">Utility <span id="command-utility-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link" id="command-world-tab" data-toggle="tab" href="#command-world" role="tab" aria-controls="command-world" aria-selected="false">World <span id="command-world-count" class="badge badge-secondary">0</span></a>
<a class="nav-item nav-link" id="command-settings-tab" data-toggle="tab" href="#command-settings" role="tab" aria-controls="command-settings" aria-selected="false">Settings <span id="command-settings-count" class="badge badge-secondary">0</span></a>
</div>
</nav>
<div class="tab-content" id="nav-tabContent">
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-audio" role="tabpanel" aria-labelledby="command-audio-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>play</td>
<td>Starts playback of the given audio track through either URL or search term. Will ask Yuuko to join the voice channel of the command issuer and if a track is already playing, queue it instead. Using the command without arguments will resume a paused player.</td>
<td>-play, -play [url], -play [term]</td>
<td><code>-play https://www.youtube.com/watch?v=DDW4hTWbRYs</code>, <code>-play something</code></td>
</tr>
<tr>
<td>pause</td>
<td>Pauses playback of the current track.</td>
<td>-pause</td>
<td><code>-pause</code></td>
</tr>
<tr>
<td>stop</td>
<td>Stops playback, clearing the queue and removing the background track.</td>
<td>-stop</td>
<td><code>-stop</code></td>
</tr>
<tr>
<td>skip</td>
<td>Skips the currently playing track, if there is one.</td>
<td>-skip</td>
<td><code>-skip</code></td>
</tr>
<tr>
<td>shuffle</td>
<td>Shuffles the queue.</td>
<td>-shuffle</td>
<td><code>-shuffle</code></td>
</tr>
<tr>
<td>current</td>
<td>Returns information about the currently playing track such as current time, artist and source.</td>
<td>-current</td>
<td><code>-current</code></td>
</tr>
<tr>
<td>last</td>
<td>Returns information about the last played track such as artist and source.</td>
<td>-last</td>
<td><code>-last</code></td>
</tr>
<tr>
<td>queue</td>
<td>Returns the first 10 tracks in the queue or however many there are if under 10.</td>
<td>-queue</td>
<td><code>-queue</code></td>
</tr>
<tr>
<td>clear</td>
<td>Clears the current queue of all of the current tracks, or clears a single track from the given position in the queue.</td>
<td>-clear, -clear [position]</td>
<td><code>-clear</code>, <code>-clear 4</code></td>
</tr>
<tr>
<td>background</td>
<td>Sets the background track and starts playback. Background tracks will play if there is nothing in queue and queued tracks will play instead of the background track. Use the command with no parameters to unset a set background.</td>
<td>-background [url], -background [term]</td>
<td><code>-background https://www.youtube.com/watch?v=va3Dj_sUCJs</code>, <code>-background cool music</code></td>
</tr>
<tr>
<td>loop</td>
<td>Toggles looping of the queue. (Finished tracks will be re-added to the end of the queue)</td>
<td>-loop</td>
<td><code>-loop</code></td>
</tr>
<tr>
<td>search</td>
<td>Searches YouTube and returns the first 10 results, a choice is made by typing the number and the selected track will be queued.</td>
<td>-search [term], -search [value], -search cancel</td>
<td><code>-search funky beats</code></td>
</tr>
<tr>
<td>seek</td>
<td>Allows seeking of currently playing tracks with an accuracy of seconds using either timestamp of seek time in seconds.</td>
<td>-seek [seconds], -seek [timestamp]</td>
<td><code>-seek 180</code>, <code>-seek 3:00</code></td>
</tr>
<tr>
<td>lyrics</td>
<td>Returns the lyrics to a song, or the first song by an artist.</td>
<td>-lyrics [song|artist]</td>
<td><code>-lyrics she wolf</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show active" id="command-core" role="tabpanel" aria-labelledby="command-core-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>module <span class="badge badge-danger">MANAGE_SERVER</span></td>
<td>Toggles a module on or off based on it’s current value. If no parameters given, lists the state of each module.</td>
<td>-module, -module [module]</td>
<td><code>-module</code>, <code>-module audio</code></td>
</tr>
<tr>
<td>command <span class="badge badge-danger">MANAGE_SERVER</span></td>
<td>Allows the toggling of commands either globally or in individual channels.</td>
<td>-command [command] | #channel</td>
<td><code>-command ping</code>, <code>-command ping #general</code>, <code>-command * #general</code></td>
</tr>
<tr>
<td>help</td>
<td>Sends a private message to the user with a link to the GitHub repository where this list is located, or sends usage information about the given command.</td>
<td>-help, -help [command]</td>
<td><code>-help</code>, <code>-help play</code></td>
</tr>
<tr>
<td>about</td>
<td>Returns some technical information about Yuuko, such as uptime, ping and server count.</td>
<td>-about</td>
<td><code>-about</code></td>
</tr>
<tr>
<td>settings <span class="badge badge-danger">MANAGE_SERVER</span></td>
<td>Gives the ability to display or set a variety of server settings.</td>
<td>-settings | [setting] [value]</td>
<td><code>-settings</code>, <code>-settings deleteExecuted true</code></td>
</tr>
<tr>
<td>shards</td>
<td>Returns some information about all of the bot’s current shards.</td>
<td>-shards</td>
<td><code>-shards</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-fun" role="tabpanel" aria-labelledby="command-fun-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>roll</td>
<td>Rolls a die with the given value and returns the result. Rolling <code>00</code> will return a multiple of 10 between <code>0</code> and <code>100</code>.</td>
<td>-roll [value], -roll 00</td>
<td><code>-roll 42</code></td>
</tr>
<tr>
<td>choose</td>
<td>Takes a list of options, separated by a comma and returns an option at random.</td>
<td>-choose [choice], [choice]…</td>
<td><code>-choose sweet, savoury</code></td>
</tr>
<tr>
<td>spoilerify</td>
<td>Takes a string and turns it into an 'every character' spoiler. Adding a backtick to the start of the string will definitely break the intended output.</td>
<td>-spoilerify [string]</td>
<td><code>-spoilerify according to all known laws of aviation...</code></td>
</tr>
<tr>
<td>8ball</td>
<td>Input a question and get an original 8ball response.</td>
<td>-8ball [question]</td>
<td><code>-8ball Am I forever alone?</code></td>
</tr>
<tr>
<td>flip</td>
<td>Returns either heads, tails or in very, vary rare occurrences, edge.</td>
<td>-flip</td>
<td><code>-flip</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-interaction" role="tabpanel" aria-labelledby="command-interaction-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>poke</td>
<td>Pokes the tagged user.</td>
<td>-poke @user</td>
<td><code>-poke @Yuuko#2525</code></td>
</tr>
<tr>
<td>bite</td>
<td>Bites the tagged user.</td>
<td>-bite @user</td>
<td><code>-bite @Yuuko#2525</code></td>
</tr>
<tr>
<td>hug</td>
<td>Hugs the tagged user.</td>
<td>-hug @user</td>
<td><code>-hug @Yuuko#2525</code></td>
</tr>
<tr>
<td>attack</td>
<td>Attacks the tagged user.</td>
<td>-attack @user</td>
<td><code>-attack @Yuuko#2525</code></td>
</tr>
<tr>
<td>angry</td>
<td>Displays that you are angry, or angry at the tagged user.</td>
<td>-angry, -angry @user</td>
<td><code>-angry</code>, <code>-angry @Yuuko#2525</code></td>
</tr>
<tr>
<td>cry</td>
<td>Displays that you are crying.</td>
<td>-cry</td>
<td><code>-cry</code></td>
</tr>
<tr>
<td>laugh</td>
<td>Displays that you are laughing, or laughing at the tagged user.</td>
<td>-laugh, -laugh @user</td>
<td><code>-laugh</code>, <code>laugh @Yuuko#2525</code></td>
</tr>
<tr>
<td>pout</td>
<td>Displays that you are pouting, or pouts at the tagged user.</td>
<td>-pout, -pout @user</td>
<td><code>-pout</code>, <code>-pout @Yuuko#2525</code></td>
</tr>
<tr>
<td>shrug</td>
<td>Displays that you are shrugging, or shrugs at the tagged user.</td>
<td>-shrug, -shrug @user</td>
<td><code>-shrug</code>, <code>-shrug @Yuuko#2525</code></td>
</tr>
<tr>
<td>sleep</td>
<td>Displays that you are sleeping.</td>
<td>-sleep</td>
<td><code>-sleep</code></td>
</tr>
<tr>
<td>tickle</td>
<td>Tickles the tagged user.</td>
<td>-tickle @user</td>
<td><code>-tickle @Yuuko#2525</code></td>
</tr>
<tr>
<td>kiss</td>
<td>Kisses the tagged user.</td>
<td>-kiss @user</td>
<td><code>-kiss @Yuuko#2525</code></td>
</tr>
<tr>
<td>pet</td>
<td>Pets the tagged user.</td>
<td>-pet @user</td>
<td><code>-pet @Yuuko#2525</code></td>
</tr>
<tr>
<td>blush</td>
<td>Displays that you are blushing.</td>
<td>-blush</td>
<td><code>-blush</code></td>
</tr>
<tr>
<td>pat</td>
<td>Pats the tagged user on the head.</td>
<td>-pat @user</td>
<td><code>-pat @Yuuko#2525</code></td>
</tr>
<tr>
<td>kill</td>
<td>Kills the tagged user.</td>
<td>-kill @user</td>
<td><code>-kill @Yuuko#2525</code></td>
</tr>
<tr>
<td>dance</td>
<td>Displays that you are dancing alone or with the tagged user.</td>
<td>-dance, -dance @user</td>
<td><code>-dance</code>, <code>-dance @Yuuko#2525</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-media" role="tabpanel" aria-labelledby="command-media-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>osu</td>
<td>Returns information about an osu! player on a specified mode. (Modes: 0 = Osu, 1 = Taiko, 2 = CtB, 3 = Mania)</td>
<td>-osu [username], -osu [username] [mode]</td>
<td><code>-osu galaxiosaurus</code>, <code>-osu galaxiosaurus 3</code></td>
</tr>
<tr>
<td>kitsu</td>
<td>Returns information about the given anime. (Types: show) (Character information to come soon!)</td>
<td>-kitsu [name]</td>
<td><code>-kitsu naruto</code></td>
</tr>
<tr>
<td>github</td>
<td>Returns information about a GitHub repository. (If demand for it arrises, I will add the abililty to list repositories by user)</td>
<td>-github [user|organization] [repository]</td>
<td><code>-github torvalds linux</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-moderation" role="tabpanel" aria-labelledby="command-moderation-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>kick <span class="badge badge-danger">KICK_MEMBERS</span></td>
<td>Kicks the provided user from, with an optional reason.</td>
<td>-kick @user, -kick @user [reason]</td>
<td><code>-kick @Yuuko</code>, <code>-kick @Yuuko not very nice.</code></td>
</tr>
<tr>
<td>ban <span class="badge badge-danger">BAN_MEMBERS</span></td>
<td>Bans the provided user, with an option to nuke all of their messages from the past 1-7 days, and optional reason. To unban a user, use the command on them once again. (using the long ID)</td>
<td>-ban @user | [delDays] | [reason]</td>
<td><code>-ban @Yuuko</code>, <code>-ban @Yuuko 4</code>, <code>-ban @Yuuko butthead</code>, <code>-ban @Yuuko 5 butthead</code></td>
</tr>
<tr>
<td>mute <span class="badge badge-danger">MUTE_MEMBERS</span></td>
<td>Mutes the provided user from both voice and text chat on the server, with an optional reason. To unmute a user you can either use the command on them again or manually remove the <code>Muted</code> role.</td>
<td>-mute @user, -mute @user [reason]</td>
<td><code>-mute @Yuuko</code>, <code>-mute @Yuuko test reason</code></td>
</tr>
<tr>
<td>nuke <span class="badge badge-danger">MESSAGE_MANAGE</span> <span class="badge badge-danger">MANAGE_CHANNEL</span></td>
<td>Deletes the provided number of messages from a text channel <strong>OR</strong> if tagged, the whole channel. Max Channels <code>10</code>, Max messages <code>100</code>. (Warning: Nuking via #channel will break any bindings you have created!)</td>
<td>-nuke [value], -nuke #channel</td>
<td><code>-nuke 50</code>, <code>-nuke #nsfw</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-nsfw" role="tabpanel" aria-labelledby="command-nsfw-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>efukt</td>
<td>Returns a random image/gif/video from eFukt.</td>
<td>-efukt</td>
<td><code>-efukt</code></td>
</tr>
<tr>
<td>neko</td>
<td>Returns a random lewd neko image by default or another type with a given parameter</td>
<td>-neko, -neko [type]</td>
<td><code>-neko</code>, <code>-neko boobs</code></td>
</tr>
<tr>
<td>urban</td>
<td>Returns the definition of a word and examples from Urban Dictionary.</td>
<td>-urban [term]</td>
<td><code>-urban ur mum</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-utility" role="tabpanel" aria-labelledby="command-utility-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>user</td>
<td>Returns information about the provided user, such as join date, online status and roles.</td>
<td>-user @user</td>
<td><code>-user @Yuuko</code></td>
</tr>
<tr>
<td>guild</td>
<td>Returns information about the current guild.</td>
<td>-guild</td>
<td><code>-server</code></td>
</tr>
<tr>
<td>channel <span class="badge badge-danger">MANAGE_CHANNELS</span></td>
<td>Adds or removes a channel to/from the server. <em>Note: You cannot have NSFW voice channels, even if you tried.</em></td>
<td>-channel [action] [type] [name] | [nsfw]</td>
<td><code>-channel add text cool-text-channel nsfw</code></td>
</tr>
<tr>
<td>bind <span class="badge badge-danger">MANAGE_SERVER</span></td>
<td>Binds a module to a text channel preventing commands from being executed outside of that channel. Modules can be bound to multiple channels and unbound by retyping the command. (A toggle) No parameters will return a list of bound channels.</td>
<td>-bind [module] | #channel…</td>
<td><code>-bind audio</code>, <code>-bind audio #test-channel...</code></td>
</tr>
<tr>
<td>avatar</td>
<td>Displays the 256x256 avatar image of a given user.</td>
<td>-avatar @user</td>
<td><code>-avatar @user</code></td>
</tr>
<tr>
<td>roles</td>
<td>Displays a list of the guild's roles and also what colour they are.</td>
<td>-roles</td>
<td><code>-roles</code></td>
</tr>
<tr>
<td>ping</td>
<td>Displays the bot's current ping, the value is updated once every 10-30 seconds.</td>
<td>-ping</td>
<td><code>-ping</code></td>
</tr>
<tr>
<td>reactrole <span class="badge badge-danger">MANAGE_ROLES</span></td>
<td>Used to setup reaction roles on messages that users can click to get certain set roles.</td>
<td>-reactrole select, -reactrole select [messageId], -reactrole add [:emote:] [@role], -reactrole rem [:emote:]</td>
<td><code>-reactrole select</code>, <code>-reactrole select 000000000000000000</code>, <code>-reactrole add :ShinobuOshino: @TestRole</code>, <code>-reactrole rem :ShinobuOshino:</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-world" role="tabpanel" aria-labelledby="command-world-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Command</th>
<th>Description</th>
<th>Usage</th>
<th>Example</th>
</tr>
</thead>
<tbody>
<tr>
<td>londonunderground</td>
<td>Returns full line coverage for the London Underground which is accurate to command execution, with optional <code>min</code> argument to return a minified version.</td>
<td>-londonunderground, -londonunderground [min]</td>
<td><code>-londonunderground</code>, <code>-londonunderground min</code></td>
</tr>
<tr>
<td>weather</td>
<td>Allows you to look up the weather in the given city <em>Note: Currently limited to a city name, without country code.</em></td>
<td>-weather [city]</td>
<td><code>-weather London</code></td>
</tr>
<tr>
<td>tesco</td>
<td>Returns product information about any item sold by Tesco PLC</td>
<td>-tesco [product]</td>
<td><code>-tesco mount gay</code></td>
</tr>
<tr>
<td>countdown</td>
<td>Returns time until the given date of format dd/MM/yyyy. Predefined inputs: christmas, halloween, newyear, brexit.</td>
<td>-countdown [date], -countdown [event]</td>
<td><code>-countdown 23/07/2019</code>, <code>-countdown brexit</code></td>
</tr>
<tr>
<td>natgeo</td>
<td>Returns the top 10 headlines from National Geographic via NewsAPI.</td>
<td>-natgeo</td>
<td><code>-natgeo</code></td>
</tr>
<tr>
<td>petition</td>
<td>Returns a petition from <code>petition.parliament.uk</code> via an input ID.</td>
<td>-petition, -petition [id]</td>
<td><code>-petition</code>, <code>-petition 241584</code></td>
</tr>
</tbody>
</table>
</div>
<!--------------------------------------------->
<!--------------------------------------------->
<!--------------------------------------------->
<div class="tab-pane fade show" id="command-settings" role="tabpanel" aria-labelledby="command-settings-tab">
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>Setting</th>
<th>Description</th>
<th>Values</th>
<th>Usage</th>
</tr>
</thead>
<tbody>
<tr>
<td>prefix</td>
<td>Changes the custom prefix for the server. (Characters: Min <code>1</code>, Max <code>5</code>)</td>
<td>String</td>
<td><code>-settings prefix !</code></td>
</tr>
<tr>
<td>deleteExecuted</td>
<td>Deletes the command message after it has been executed.</td>
<td>TRUE, FALSE</td>
<td><code>-settings deleteExecuted true</code></td>
</tr>
<tr>
<td>nowPlaying</td>
<td>Announces the next track in the queue when the previous finishes.</td>
<td>TRUE, FALSE</td>
<td><code>-settings nowPlaying true</code></td>
</tr>
<tr>
<td>djMode</td>
<td>Toggles whether or not the role of <code>DJ</code> is required to use key audio module commands.</td>
<td>TRUE, FALSE</td>
<td><code>-settings djMode true</code></td>
</tr>
<tr>
<td>newMember</td>
<td>Channel used to welcome new members, default value of null (off) set by tagging a channel, unset by typing anything else.</td>
<td>#channel, null</td>
<td><code>-settings newmember #general</code>, <code>-settings newmember null</code></td>
</tr>
<tr>
<td>starboard</td>
<td>Channel used for the starboard, default value of null (off) set by tagging a channel, unset by typing anything else. Use <code>setup</code> to automatically setup the channel.</td>
<td>#channel, ‘setup’, null</td>
<td><code>-settings starboard #starboard</code>, <code>-settings starboard setup</code></td>
</tr>
<tr>
<td>comLog</td>
<td>Channel used for the command log, default value of null (off) set by tagging a channel, unset by typing anything else. Use <code>setup</code> to automatically setup the channel.</td>
<td>#channel, ‘setup’, null</td>
<td><code>-settings comLog #commandLog</code>, <code>-settings comLog setup</code></td>
</tr>
<tr>
<td>modLog</td>
<td>Channel used for the moderation log, default value of null (off) set by tagging a channel, unset by typing anything else. Use <code>setup</code> to automatically setup the channel.</td>
<td>#channel, ‘setup’, null</td>
<td><code>-settings modLog #modLog</code>, <code>-settings modLog setup</code></td>
</tr>
</tbody>
</table>
</div>
</div>
<script>
$(document).ready(function() {
$('#command-core-count').html($('#command-core tbody tr').length);
$('#command-moderation-count').html($('#command-moderation tbody tr').length);
$('#command-audio-count').html($('#command-audio tbody tr').length);
$('#command-interaction-count').html($('#command-interaction tbody tr').length);
$('#command-utility-count').html($('#command-utility tbody tr').length);
$('#command-media-count').html($('#command-media tbody tr').length);
$('#command-world-count').html($('#command-world tbody tr').length);
$('#command-fun-count').html($('#command-fun tbody tr').length);
$('#command-nsfw-count').html($('#command-nsfw tbody tr').length);
$('#command-settings-count').html($('#command-settings tbody tr').length);
});
</script>