This repository has been archived by the owner on Oct 17, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathfunctions.json
3850 lines (3850 loc) · 156 KB
/
functions.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
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
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"awaited": [
{
"function": "$awaitCmdReactions",
"usage": "$awaitCmdReactions[userFilter;time;reactions;commands;errorMsg?;awaitData?]",
"description": "will respond when a user reacts to the initial command message with a specific emoji.",
"example": "",
"version": "v6"
},
{
"function": "$awaitComponents",
"usage": "",
"description": "awaits components for given amount of uses.",
"example": "$awaitComponents[messageID;userFilter;customID;commands;errorMsg?;uses?;awaitData?]",
"version": "v6"
},
{
"function": "$awaitComponentsUntil",
"usage": "$awaitComponentsUntil[channelID;messageID;userFilter;time;customIDs;commands;errorMsg?;awaitData?]",
"description": "awaits message components until a specific time and makes in unuseable after that time.",
"example": "",
"version": "v6"
},
{
"function": "$awaitMessageReactions",
"usage": "$awaitMessageReactions[channelID;messageID;userFilter;time;reactions;commands;errorMessage?;awaitData?]",
"description": "will reply when a user reacts with a specific emoji.",
"example": "",
"version": "v6"
},
{
"function": "$awaitMessages",
"usage": "$awaitMessages[channelID;userFilter;time;replies;cmds;errorMessage?;awaitData?;dm?]",
"description": "will reply once a given message has been sent by the given user",
"example": "",
"version": "v6"
},
{
"function": "$componentCollector",
"usage": "$componentCollector[messageID;userFilter;time;customIDs;commands;errorMsg?;endcommand?;awaitData?]",
"description": "will create a collector for the given components.",
"example": "",
"version": "v6"
},
{
"function": "$deleteIn",
"usage": "$deleteIn[time]",
"description": "will delete a message after a given time.",
"example": "$deleteIn[5s]\nI'll delete this message in 5 seconds!",
"version": "v6"
},
{
"function": "$editIn",
"usage": "$editIn[time;content]",
"description": "will edit a message after a given time.",
"example": " $editIn[5s;aoi.js is great, don't you agree?]\nI'll edit this message in 5 seconds!",
"version": "v6"
},
{
"function": "$reactionCollector",
"usage": "$reactionCollector[channelID;messageID;userFilters;time;reactions;awaitedCommands;removeReaction?;awaitData?;endAwait?]",
"description": "will create a reaction collector on a given message.",
"example": "",
"version": "v6"
}
],
"calling": [
{
"function": "$addApplicationCommandPermissions",
"usage": "$addApplicationCommandPermissions[guildID/global?;id;...perms]",
"description": "add a applicationCommand permissions",
"example": "$addApplicationCommandPermissions[$guildID;ID;[{id: '$guildID', type:'ROLE', permission: false}]]",
"version": "v6"
},
{
"function": "$addButton",
"usage": "$addButton[index;label;style;customID;disabled?;emoji?]",
"description": "will add a button to the bot's message.",
"example": "Hello!\n$addButton[1;Example Button!;primary;exampleButton;false;💔]\n$addButton[1;Example Button!;link;https://discord.gg;false]",
"version": "v6"
},
{
"function": "$addClientReactions",
"usage": "$addClientReactions[...reactions]",
"description": "will add a reaction to the bot's message.",
"example": "Hello!\n$addClientReactions[🧡;❤]",
"version": "v6"
},
{
"function": "$addCmdReactions",
"usage": "$addCmdReactions[...reactions]",
"description": "will react with given emojis to the author's message.",
"example": "Hello!\n$addCmdReactions[🧡;❤]",
"version": "v6"
},
{
"function": "$addEmoji",
"usage": "$addEmoji[guildID;url;name;returnEmoji?;reason?;...roles?]",
"description": "will add an emoji to the given guild. If role IDs are given, the emoji will only be usable by users with one of the provided role IDs.",
"example": "$addEmoji[$guildID;https://cdn.discordapp.com/emojis/1010320053687832586.webp?size=96&quality=lossless;leref;false]",
"version": "v6"
},
{
"function": "$addField",
"usage": "$addField[fieldTitle;fieldDescription;inline?]",
"description": "will add a field in an embed.",
"example": "$addField[Example;Look at this!;false]\n$description[Hello!]",
"version": "v6"
},
{
"function": "$addMessageReactions",
"usage": "$addMessageReactions[channelID;messageID;...reactions]",
"description": "will add a reaction to a specific message.",
"example": "$addMessageReactions[$channelID;$messageID;✅;❌]",
"version": "v6"
},
{
"function": "$addSelectMenu",
"usage": "$addSelectMenu[index;customId;placeHolder;minValues;maxValues;disabled?;label:description:value:default?:emoji?;...]",
"description": "will add a select menu to the bot's message.",
"example": "https://aoi.js.org/docs/functions/Calling/addSelectMenu",
"version": "v6"
},
{
"function": "$addThreadMember",
"usage": "$addThreadMember[channelID;threadID;userID;reason]",
"description": "will add a member to a thread.",
"example": " $addThreadMember[$channelID;$get[id];$randomUserID;testing]\n$let[id;$createThread[$channelID;example;1440;public;$messageID;true]] ",
"version": "v6"
},
{
"function": "$addTimestamp",
"usage": "$addTimestamp[ms?]",
"description": " will add a timestamp to an embed.",
"example": " $description[Hello!]\n$addTimestamp",
"version": "v6"
},
{
"function": "$archiveThread",
"usage": "$archiveThread[threadID;channelID?;archive?;reason?]",
"description": "will archive or unarchive a specific thread.",
"example": " $archiveThread[$channelID;$get[id];true;testing]\n$let[id;$createThread[$channelID;example;1440;public;$messageID;true]]",
"version": "v6"
},
{
"function": "$attachment",
"usage": "$attachment[attachment;name;type?]",
"description": "will create an attachment.",
"example": "$attachment[https://cdn.discordapp.com/emojis/1063432790697328710.webp?size=96&quality=lossless;boost-icon.png;url]",
"version": "v6"
},
{
"function": "$author",
"usage": "$author[index?;name;iconURL?]",
"description": "will add an author field to an embed.",
"example": " $author[Hello!;$userAvatar[$authorID]]\n$description[Embed with author!]",
"version": "v6"
},
{
"function": "$autoCompleteRespond",
"usage": "$autoCompleteRespond[OptionName;OptionReply;...]",
"description": "s used to auto-complete slash options.",
"example": "https://aoi.js.org/docs/functions/Calling/autoCompleteRespond",
"version": "v6"
},
{
"function": "$ban",
"usage": "$ban[guildID?;userID;days?;reason?]",
"description": "will ban a user of a guild.",
"example": "$ban[$guildID;$randomUserID;7;Imagine getting banned.]",
"version": "v6"
},
{
"function": "$botLeave",
"usage": "$botLeave[guildID?]",
"description": "will make your bot leave a specific server.",
"example": "$botLeave[$guildID]",
"version": "v6"
},
{
"function": "$botTyping",
"usage": "$botTyping",
"description": "will make your bot type in a channel (show that it's typing).",
"example": "$botTyping",
"version": "v6"
},
{
"function": "$broadcastEval",
"usage": "$broadcastEval[func]",
"description": "will execute a code in all guilds of all shards. (requires sharding)",
"example": "$broadcastEval[$guildCount]",
"version": "v6"
},
{
"function": "$cacheMembers",
"usage": "$cacheMembers[guildID?;returnCount?]",
"description": "will cache all members of a guild.",
"example": "$cacheMembers[$guildID;true]",
"version": "v6"
},
{
"function": "$changeNickname",
"usage": "$changeNickname[userID;nick;reason?]",
"description": "will change a nickname of a guild member.",
"example": "$changeNickname[$authorID;I love aoi.js;They simply love aoi.js]",
"version": "v6"
},
{
"function": "$channelPermissionsFor",
"usage": "$channelPermissionsFor[userorroleID?;channelID?;sep?]",
"description": "will return the channel permissions of a specific user or role.",
"example": "$channelPermissionsFor[$authorID;$channelID;, ]",
"version": "v6"
},
{
"function": "$channelSendMessage",
"usage": "$channelSendMessage[channelID;message;returnID?]",
"description": "will send a message in a specific channel.",
"example": "$channelSendMessage[$channelID;Hello]\n$channelSendMessage[$channelID;{newEmbed:{title:Hello}{footer:Bye}};false]",
"version": "v6"
},
{
"function": "$clear",
"usage": "$clear[amount;filter?;returnCount?;channelID?]",
"description": "will delete the amount of given messages in a channel.",
"example": "$clear[50;unPins;false;$channelID]",
"version": "v6"
},
{
"function": "$clearReaction",
"usage": "$clearReaction[channelID;messageID;userID;emoji]",
"description": "will remove a given reaction of a message.",
"example": "$clearReaction[$channelID;$messageID;$clientID;🥱]",
"version": "v6"
},
{
"function": "$clearReactions",
"usage": "$clearReactions[channelID;messageID;emoji]",
"description": "will remove a given or all reactions of a message.",
"example": "$clearReactions[$channelID;$messageID;🥱]",
"version": "v6"
},
{
"function": "$cloneChannel",
"usage": "$cloneChannel[channelID;name;returnID?]",
"description": "will clone a channel.",
"example": "$cloneChannel[$channelID;new channel;false]",
"version": "v6"
},
{
"function": "$color",
"usage": "$color[index?;hex]",
"description": "will change the color of an embed",
"example": " $description[What a nice color!]\n$color[Red] or $color[ED4245]",
"version": "v6"
},
{
"function": "$createApplicationCommand",
"usage": "$createApplicationCommand[guildID/global;name;description;defaultPermission;type?;options?]",
"description": "will create an application command.",
"example": "$createApplicationCommand[$guildID/global;example;slash command description!;true;slash]",
"version": "v6"
},
{
"function": "$createChannelInvite",
"usage": "$createChannelInvite[channelID?;...options]",
"description": "will create a channel invite.",
"example": "$createChannelInvite[$channelID]",
"version": "v6"
},
{
"function": "$createFile",
"usage": "$createFile[attachment;name]",
"description": "will create a file.",
"example": "$createFile[This is an example!;example.txt]",
"version": "v6"
},
{
"function": "$createScheduledEvent",
"usage": "$createScheduledEvent[channelID;name;description;starTime;endTime?;entityType?;entityMetadata?;image?;reason?]",
"description": "will create a scheduled event.",
"example": "",
"version": "v6"
},
{
"function": "$createStageInstance",
"usage": "$createStageInstance[channelID;topic;type?]",
"description": "will start a stage.",
"example": "$createStageInstance[stageID;Testing!;1]",
"version": "v6"
},
{
"function": "$createSticker",
"usage": "$createSticker[guildid;url;name;returnSticker?;tags;description;reason]",
"description": "will create a sticker.",
"example": "$createSticker[$guildID;https://cdn.discordapp.com/attachments/1061712111052521493/1066397675278323734/692445926480150611.png;Imagine;true;money;Random sticker;Testing.]",
"version": "v6"
},
{
"function": "$createThread",
"usage": "$createThread[channelID;name;archive;type;startMessage;returnId?]",
"description": "will create a new thread.",
"example": "$createThread[$channelID;Example!;60;public;$messageID;false]",
"version": "v6"
},
{
"function": "$createWebhook",
"usage": "$createWebhook[channelID;name;avatar;reason;separator?]",
"description": "will create a webhook.",
"example": "$createWebhook[$channelID;aoi.js is great;$userAvatar[$authorID];Just testing.;, ]",
"version": "v6"
},
{
"function": "$deafenUser",
"usage": "$deafenUser[userID;deaf?]",
"description": "will deafen a user.",
"example": "$deafen[$authorID;true]",
"version": "v6"
},
{
"function": "$deleteApplicationCommand",
"usage": "$deleteApplicationCommand[guildID/global;id]",
"description": "will delete an application command.",
"example": "$deleteApplicationCommand[$guildID;$getApplicationCommandID[$guildID;slashcommandname]]",
"version": "v6"
},
{
"function": "$deleteChannel",
"usage": "$deleteChannel[channelID]",
"description": "will delete a specific channel.",
"example": "$deleteChannel[$channelID]",
"version": "v6"
},
{
"function": "$deleteChannels",
"usage": "$deleteChannels[...channels]",
"description": "will delete multiple channels.",
"example": "$deleteChannels[channelID1;channelID2;channelID3;channelID4]",
"version": "v6"
},
{
"function": "$deleteCommand",
"usage": "$deleteCommand",
"description": "will delete the initial command message.",
"example": "$deleteCommand",
"version": "v6"
},
{
"function": "$deleteEmoji",
"usage": "$deleteEmoji[emoji]",
"description": "will delete a specific emoji.",
"example": "$deleteEmoji[$randomEmoji]",
"version": "v6"
},
{
"function": "$deleteEmojis",
"usage": "$deleteEmojis[...emojis]",
"description": "will delete multiple emoji.",
"example": "$deleteEmojis[$randomEmoji;$randomEmoji]",
"version": "v6"
},
{
"function": "$deleteInvite",
"usage": "$deleteInvite[guildID;inviteCode;reason?]",
"description": "will delete a specific guild invite.",
"example": "$deleteInvite[$guildID;ifawd9a;Testing!]",
"version": "v6"
},
{
"function": "$deleteMessage",
"usage": "$deleteMessage[messageID;channelID]",
"description": "will delete a specific message.",
"example": "$deleteMessage[$get[id];$channelID]\n$let[id;$sendMessage[Hello!;true]]",
"version": "v6"
},
{
"function": "$deleteRoles",
"usage": "$deleteRoles[guildID;...roles]",
"description": "will delete one or multiple roles.",
"example": "$deleteRoles[$guildID;roleID1;roleID2;roleID3]",
"version": "v6"
},
{
"function": "$deleteStageInstance",
"usage": "$deleteStageInstance[channelID]",
"description": "will end an existing stage instance.",
"example": "$deleteStageInstance[stageInstance]",
"version": "v6"
},
{
"function": "$deleteSticker",
"usage": "$deleteSticker[guildID;sticker]",
"description": "will delete a given sticker.",
"example": "$deleteSticker[$guildID;sticker]",
"version": "v6"
},
{
"function": "$deleteThread",
"usage": "$deleteThread[channelID;threadID;reason?]",
"description": "will delete a thread of a channel.",
"example": "$deleteThread[$channelID;threadID;Crazy Example.]",
"version": "v6"
},
{
"function": "$deleteWebhook",
"usage": "$deleteWebhook[webhookID;webhookToken]",
"description": " will delete a Webhook.",
"example": "",
"version": "v6"
},
{
"function": "$description",
"usage": "$description[index?;description]",
"description": "is used for embeds to add an description field.",
"example": "$description[aoi.js is great!]",
"version": "v6"
},
{
"function": "$dm",
"usage": "$dm[userID]",
"description": "will send a message to an users Direct Messages.",
"example": "Hello! Did you really think this works?\n$dm[$authorID]",
"version": "v6"
},
{
"function": "$editChannel",
"usage": "$editChannel[channelID;name?;type?;position?;topic?;nsfw?;bitrate?;userlimit?;parent?;lockPermissions?;permissionOverwrites?;rateLimitPerUser?;defaultAutoArchiveDuration?;rtcRegion?;reason?]",
"description": "will edit a channel.",
"example": "$editChannel[$channelID;I love aoi.js;$default;1]",
"version": "v6"
},
{
"function": "$editMessage",
"usage": "$editMessage[messageID;msg;channelID?]",
"description": "will edit a given message.",
"example": "$editMessage[$get[id];Bye!]\n$wait[5s]\n$let[id;$sendMessage[Hello!;true]]",
"version": "v6"
},
{
"function": "$editWebhookMessage",
"usage": "$editWebhookMessage[webhookID;webhookToken;messageID;returnID?]",
"description": "will edit a given webhook message.",
"example": "",
"version": "v6"
},
{
"function": "$fetchActiveThreads",
"usage": "$fetchActiveThreads[channelID;option?]",
"description": "will return all active threads of a given channel.",
"example": "$fetchActiveThreads[$channelID;name]",
"version": "v6"
},
{
"function": "$fetchArchivedThreads",
"usage": "$fetchArchivedThreads[channelID;option?]",
"description": "will return all archived threads of a given channel.",
"example": "$fetchArchivedThreads[$channelID;name]",
"version": "v6"
},
{
"function": "$fetchClientValues",
"usage": "$fetchClientValues[func]",
"description": "will return data of all client shards.",
"example": "",
"version": "v6"
},
{
"function": "$footer",
"usage": "$footer[index?;text;iconURL?]",
"description": "will add a footer to an embed.",
"example": "$title[Hello!]\n$footer[Hello again!;$userAvatar]",
"version": "v6"
},
{
"function": "$getGuildInvite",
"usage": "$getGuildInvite[guildID?;...options]",
"description": "will create a guild invite.",
"example": "$getGuildInvite[$guildID]",
"version": "v6"
},
{
"function": "$giveRole",
"usage": "$giveRole[guildID;userID;roleID]",
"description": "will give an specific user a specific role.",
"example": "$giveRole[$guildID;$authorID;$findRole[Admin]]",
"version": "v6"
},
{
"function": "$giveRoles",
"usage": "$giveRoles[guildID;userID;...roles]",
"description": "will give an specific user multiple or one specific role(s).",
"example": "$giveRoles[$guildID;$authorID;$findRole[Admin];$findRole[Moderator]]",
"version": "v6"
},
{
"function": "$image",
"usage": "$image[index?;url]",
"description": "will add an image to an embed.",
"example": "$image[$userAvatar]",
"version": "v6"
},
{
"function": "$interactionModal",
"usage": "$interactionModal[title;customID;components]",
"description": "create an user interactive modal.",
"example": "https://aoi.js.org/docs/functions/Calling/interactionModal",
"version": "v6"
},
{
"function": "$isAutoComplete",
"usage": "$isAutoComplete",
"description": "will return either true or false depending on the entered slash command option being auto completed or not. (autoCompleteRespond function)",
"example": "https://aoi.js.org/docs/functions/Calling/isAutoComplete",
"version": "v6"
},
{
"function": "$joinThread",
"usage": "$joinThread[channelID;threadID]",
"description": "will make the bot join a specific thread.",
"example": "$joinThread[$channelID;$get[threadID]]\n$let[threadID;$createThread[$channelID;Example!;1440;public;$messageID;true]]",
"version": "v6"
},
{
"function": "$kick",
"usage": "$kick[userID;guildID?;reason?]",
"description": "will remove a user from a given guild.",
"example": " <@$findMember[$message;false]> has been kicked!\n$kick[$findMember[$message;false];$guildID;Example reason!]",
"version": "v6"
},
{
"function": "$killShard",
"usage": "$killShard[shardID]",
"description": "will kill a given shard. (requires sharding)",
"example": "$killShard[$shardID]",
"version": "v6"
},
{
"function": "$leaveThread",
"usage": "$leaveThread[channelID;threadID]",
"description": "will make the bot leave a specific thread.",
"example": "$leaveThread[$channelID;$get[threadID]]\n$let[threadID;$createThread[$channelID;Example!;1440;public;$messageID;true]]",
"version": "v6"
},
{
"function": "$messagePublish",
"usage": "$messagePublish[messageID;channelID?]",
"description": "will publish a message in an announcement channel.",
"example": "$messagePublish[$get[msgID];$channelID]\n$let[msgID;$sendMessage[Hello!;true]]",
"version": "v6"
},
{
"function": "$modifyApplicationCommand",
"usage": "$modifyApplicationCommand[guildID/global;appID;name:description:type:options:defaultPermission;...options]",
"description": "will modify an existing application command.",
"example": "",
"version": "v6"
},
{
"function": "$modifyChannelPerms",
"usage": "$modifyChannelPerms[roruId;channelID;...perms]",
"description": "will modify a given channel's permission overrides.",
"example": "$modifyChannelPerms[$guildID;$channelID;+sendmessages;+addreactions]",
"version": "v6"
},
{
"function": "$modifyEmoji",
"usage": "$modifyEmoji[guildID;emojiID;name;...roles?]",
"description": "will modify a given custom emoji.",
"example": "$modifyEmoji[$guildID;emojiID;Example]",
"version": "v6"
},
{
"function": "$modifyRole",
"usage": "$modifyRole[guildID;roleID;...data]",
"description": "will modify a given role.",
"example": "$modifyRole[$guildID;roleID;{\"name\": \"Awesome!\"}]",
"version": "v6"
},
{
"function": "$modifyRolePerms",
"usage": "$modifyRolePerms[guildID;roleID;...perms]",
"description": "will modify a given role's permissions.",
"example": "$modifyRolePerms[$guildID;$guildID;+sendmessages;+addreactions]",
"version": "v6"
},
{
"function": "$modifyWebhook",
"usage": "$modifyWebhook[webhookID;name;avatar;channelID?;reason?]",
"description": "will modify a given webhook.",
"example": "$modifyWebhook[webhookID;Hello!;$userAvatar[$authorID];$channelID;Testing!]",
"version": "v6"
},
{
"function": "$moveUser",
"usage": "$moveUser[guildID;userID;channelID;reason?]",
"description": "will move a given user between two Voice Channels.",
"example": "$moveUser[$guildID;userID;new voice channel ID;Testing!]",
"version": "v6"
},
{
"function": "$muteUser",
"usage": "$muteUser[guildID;userID;mute?;reason?]",
"description": "will mute or unmute a given user in a Voice Channel.",
"example": "$muteUser[$guildID;$authorID;true]",
"version": "v6"
},
{
"function": "$pinMessage",
"usage": "$pinMessage[messageID?;channelID?]",
"description": "will pin a given message.",
"example": "$pinMessage[$get[id]]\n$let[id;$sendMessage[Hello!;true]",
"version": "v6"
},
{
"function": "$pruneMembers",
"usage": "$pruneMembers[days?;guildID?;roleIds?;dry?;reason?;count?]",
"description": "will kick all inactive users whose been inactive for a given amount of time.",
"example": "$pruneMembers[4;$guildID;$guildID;true;Pruning!;true]",
"version": "v6"
},
{
"function": "$removeApplicationCommandPermissions",
"usage": "$removeApplicationCommandPermissions[guildID/global;id;roruids]",
"description": "will remove permissions of a user or role of a specific application command.",
"example": "",
"version": "v6"
},
{
"function": "$removeThreadMember",
"usage": "$removeThreadMember[channelID;threadID;userID;reason?]",
"description": "will remove a given thread member from a given thread.",
"example": "$removeThreadMember[$channelID;threadID;$authorID;Testing functions!]",
"version": "v6"
},
{
"function": "$reply",
"usage": "$reply[messageID?;mentionUser?]",
"description": "will reply to a given message.",
"example": "$reply[$messageID;true]",
"version": "v6"
},
{
"function": "$respawnAllShards",
"usage": "$respawnAllShards",
"description": "will respawn all shards. (requires sharding)",
"example": "$respawnAllShards",
"version": "v6"
},
{
"function": "$sendCrosspostingMessage",
"usage": "$sendCrosspostingMessage[message;...channelIDs]",
"description": "will crosspost a given message to the given channels.",
"example": "$sendCrosspostingMessage[Hello!;$channelID;$randomChannelID]",
"version": "v6"
},
{
"function": "$sendDm",
"usage": "$sendDm[message;userID?;returnID?]",
"description": "will Direct Message a given user.",
"example": "$sendDm[Hello!;$authorID;false]",
"version": "v6"
},
{
"function": "$sendMessage",
"usage": "$sendMessage[message;returnID?]",
"description": "will send a message in the execution channel.",
"example": "$sendMessage[Hello!;false]\n$sendMessage[Hello! {newEmbed:{title:Bonjour!}};false]",
"version": "v6"
},
{
"function": "$sendTTS",
"usage": "$sendTTS[channelID;message;returnID?]",
"description": "will send a text-to-speech message in a given channel.",
"example": "$sendTTS[$channelIDHello!;false]",
"version": "v6"
},
{
"function": "$sendWebhookMessage",
"usage": "$sendWebhookMessage[webhookID;webhookToken;message;returnID?]",
"description": "will send a message using an existing webhook.",
"example": "$sendWebhookMessage[$splitText[1];$splitText[2];Hello!;false]\n$textSplit[$createWebhook[$channelID;$username;$userAvatar;Testing!;,];,]",
"version": "v6"
},
{
"function": "$setApplicationCommandPermissions",
"usage": "$setApplicationCommandPermissions[guildID/global;ID;...perms]",
"description": "will set the permissions of a specific application command.",
"example": "",
"version": "v6"
},
{
"function": "$setChannelTopic",
"usage": "$setChannelTopic[channelID;topic]",
"description": "will modify a channel's topic.",
"example": "$setChannelTopic[$channelID;Hello! This is the new channel topic!]",
"version": "v6"
},
{
"function": "$setClientAvatar",
"usage": "$setClientAvatar[avatar]",
"description": "will change the clients' avatar.",
"example": "$setClientAvatar[$userAvatar[$authorID]]",
"version": "v6"
},
{
"function": "$setClientName",
"usage": "$setClientName[username]",
"description": "will change the clients' Discord Username.",
"example": "$setClientName[$username[$authorID]]",
"version": "v6"
},
{
"function": "$setGuildIcon",
"usage": "$setGuildIcon[icon;guildID?]",
"description": "will change a guilds' icon.",
"example": "$setGuildIcon[$userAvatar[$authorID];$guildID]",
"version": "v6"
},
{
"function": "$setGuildName",
"usage": "$setGuildName[name;guildID?]",
"description": "will change a guilds' name.",
"example": "$setGuildName[$username[$authorID];$guildID]",
"version": "v6"
},
{
"function": "$setRoleColor",
"usage": "$setRoleColor[roleID;color]",
"description": "will set a roles' color.",
"example": "$setRoleColor[$randomRoleID;ED4245]\n or\n$setRoleColor[$randomRoleID;Red] ",
"version": "v6"
},
{
"function": "$setRolePosition",
"usage": "$setRolePosition[roleID;position;guildID?]",
"description": "will set a roles' position.",
"example": "$setRolePosition[$randomRoleID;1;$guildID]",
"version": "v6"
},
{
"function": "$setRoles",
"usage": "$setRoles[guildID;memberID;...roleIDs]",
"description": "will set a member's roles.",
"example": "$setRoles[$guildID;$authorID;roleID1;roleID2;roleID3;....]",
"version": "v6"
},
{
"function": "$setStatus",
"usage": "$setStatus[name;type;status;url;afk?]",
"description": "will change the client's status.",
"example": "$setStatus[Hello!;PLAYING;online]",
"version": "v6"
},
{
"function": "$slowmode",
"usage": "$slowmode[time;channelID?]",
"description": "will change a channel's slowmode.",
"example": "$slowmode[3m;$channelID]",
"version": "v6"
},
{
"function": "$spawnShard",
"usage": "$spawnShard[shard]",
"description": "will spawn a shard, requires sharding.",
"example": "$spawnShard[1]",
"version": "v6"
},
{
"function": "$takeRole",
"usage": "$takeRole[guildID;userID;roleID]",
"description": "will remove a given role from a given member.",
"example": "$takeRole[$guildID;$authorID;roleID]",
"version": "v6"
},
{
"function": "$takeRoles",
"usage": "$takeRoles[guildID;userID;...roleIDs]",
"description": "will remove one or multiple roles from a given member.",
"example": "$takeRoles[$guildID;$authorID;roleID;roleID;...]",
"version": "v6"
},
{
"function": "$thumbnail",
"usage": "$thumbnail[index?;url]",
"description": "add a thumbnail to an embed (upper right corner image).",
"example": "$thumbnail[$userAvatar[$authorID]]\n$description[Hello, that's your Avatar!]",
"version": "v6"
},
{
"function": "$timeoutMember",
"usage": "$timeoutMember[guildID;memberID;timer;timeoutEndsAt?;reason?]",
"description": "will timeout a given member using Discord's Timeout feature.",
"example": "$timeoutMember[$guildID;userID;5m;false]",
"version": "v6"
},
{
"function": "$title",
"usage": "$title[index?;title;url?]",
"description": "add a title to an embed.",
"example": "$title[Hello!;https://aoi.js.org]\n$description[The title contains a hyperlink..]",
"version": "v6"
},
{
"function": "$unPinMessage",
"usage": "$unPinMessage[messageID?;channelID?]",
"description": "will unpin a given message.",
"example": "$unPinMessage[$get[id]]\n$wait[2s]\n$pinMessage[$get[id]]\n$let[id;$sendMessage[Hello!;true]",
"version": "v6"
},
{
"function": "$unban",
"usage": "$unban[guildID;userID]",
"description": "will unban a given user.",
"example": "$unban[$guildID;userID]",
"version": "v6"
}
],
"events": [
{
"function": "$bulk",
"usage": "$bulk[option]",
"description": "will hold data for the bulk delete command. (messageDeleteBulk callback)",
"example": "$bulk[messages]",
"version": "v6"
},
{
"function": "$channelUsed",
"usage": "$channelUsed",
"description": "will return the channel ID of where the callback was triggered.",
"example": "",
"version": "v6"
},
{
"function": "$handleError",
"usage": "$handleError[option]",
"description": "will return information about an occured error.",
"example": "Something went wrong in your \"$handleError[command]\" command! The function \"$handleError[function]\" returned the error \"$handleError[error]\"",
"version": "v6"
},
{
"function": "$interactionData",
"usage": "$interactionData[data]",
"description": "will return given arguments of an interaction.",
"example": "$interactionData[message.id]",
"version": "v6"
},
{
"function": "$interactionDefer",
"usage": "$interactionDefer[ephemeral]",
"description": "defers an Interaction of the last 15 minutes.",
"example": "",
"version": "v6"
},
{
"function": "$interactionDeferUpdate",
"usage": "$interactionDeferUpdate[ephemeral]",
"description": "defers the interaction message that will be updated.",
"example": "",
"version": "v6"
},
{
"function": "$interactionDelete",
"usage": "$interactionDelete",
"description": "will delete a reply of an interaction.",
"example": "$interactionDelete\n$wait[5s]\n$interactionReply[Hello, World!;;;;everyone;false]",
"version": "v6"
},
{
"function": "$interactionEdit",
"usage": "$interactionEdit[content?;embeds?;components?;files?;allowedMentions?]",
"description": "will return edit an interaction.",
"example": "$interactionEdit[Bye, World!;;;;everyone]\n$wait[5s]\n$interactionReply[Hello, World!;;;;everyone;false]",
"version": "v6"
},
{
"function": "$interactionFollowUp",
"usage": "$interactionFollowUp[content?;embeds?;components?;files?;ephemeral?]",
"description": "can be used for JSON requests, song informations or playing tracks, since these things takes more than 3 seconds.",
"example": " $interactionFollowUp[Bye, world!]\n$interactionDefer[true]",
"version": "v6"
},
{
"function": "$interactionReply",
"usage": "$interactionReply[content?;embeds?;components?;files?;allowedMentions?;ephemeral?]",
"description": "allows you to send an interaction message reply.",
"example": "$interactionReply[Hello, world!;;;;everyone;false]",
"version": "v6"
},
{
"function": "$interactionUpdate",
"usage": "$interactionUpdate[content?;embeds?;components?;files?]",
"description": "will return edit an interaction.",
"example": "$interactionUpdate[Bye, World!]\n$wait[5s]\n$interactionReply[Hello, World!;;;;everyone;false]",
"version": "v6"
},
{
"function": "$isButtonInteraction",
"usage": "$isButtonInteraction",
"description": "will return either true or false depending on the type of interaction.",
"example": "",
"version": "v6"
},
{
"function": "$isCommandInteraction",
"usage": "$isCommandInteraction",
"description": "will return either true or false depending on the type of interaction.",
"example": "",
"version": "v6"
},
{
"function": "$isComponentInteraction",
"usage": "$isComponentInteraction",
"description": "will return either true or false depending on the type of interaction.",
"example": "",
"version": "v6"
},
{
"function": "$isContextMenuInteraction",
"usage": "$isContextMenuInteraction",
"description": "will return either true or false depending on the type of interaction.",
"example": "",
"version": "v6"
},
{
"function": "$isSelectMenuInteraction",
"usage": "$isSelectMenuInteraction",
"description": "will return either true or false depending on the type of interaction.",
"example": "",
"version": "v6"
},
{
"function": "$newApplicationCmd",
"usage": "$newApplicationCmd[name]",
"description": "gets the data from application Callbacks (update and create one).",
"example": "",
"version": "v6"
},
{
"function": "$newChannel",
"usage": "$newChannel[option]",
"description": "holds data of the updated channel, used in channel update, delete and create callbacks, or else any data will be empty.",
"example": "",
"version": "v6"
},
{
"function": "$newGuild",
"usage": "$newGuild[option]",
"description": "holds data for the guild after the update, might be a good idea to check partial option before accessing any property. (guildUpdate callback)",
"example": "",
"version": "v6"
},
{
"function": "$newMember",
"usage": "$newMember[option]",
"description": "holds data for the member after the update, might be a good idea to check partial option before accessing any property. (memberUpdate callback)",
"example": "",
"version": "v6"
},
{
"function": "$newPresence",
"usage": "$newPresence[option]",
"description": "holds data of the updated presence.",
"example": "",
"version": "v6"
},
{
"function": "$newRole",
"usage": "$newRole[option]",
"description": "holds data of a role that was created, updated, or deleted. Used in role update / delete / create callbacks, or else it won't give any data.",
"example": "",
"version": "v6"
},
{
"function": "$newState",
"usage": "$newState[option]",
"description": "holds data for the user voice state after the update (voiceStateUpdate callback).",
"example": "",
"version": "v6"
},
{
"function": "$newUser",
"usage": "$newUser[option]",
"description": "holds data of the updated user.",
"example": "",
"version": "v6"
},
{
"function": "$newVariable",
"usage": "$newVariable[option;sep?]",
"description": "gets the data from variable callbacks.",
"example": "",
"version": "v6"
},
{
"function": "$oldApplicationCmd",
"usage": "$oldApplicationCmd[option]",
"description": "gets the data from application Callbacks (update and delete one)",
"example": "",
"version": "v6"
},