forked from WORXKiT/Botsiri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathKris.py
3658 lines (3508 loc) · 168 KB
/
Kris.py
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
# -*- coding: utf-8 -*-
import LINETCR
from LINETCR.lib.curve.ttypes import *
from datetime import datetime
import time,random,sys,json,codecs,threading,glob,re,os,subprocess
satpam = LINETCR.LINE() # Login Pake Akun Kicker Kalian
#satpam.login(token="token anda")#ganti dgn token kalian
satpam.login(token="EnIi7eCT2e7370Apjr1d.BopoFCN2l54VZxh/El8hhq.oJxbngBYrichixoQJYEXk+KzPM/4tGAw/L9SGtnGYhQ=")
satpam.loginResult()
cl = LINETCR.LINE() #Luffy
#cl.login(token="token anda")#ganti dgn token kalian
cl.login(token="EnMu2iXHjl8NHEzzn6P1.NAXTacNqQGCK/bXOCK7M8q.qbPSHe1VPwhPWhsSb5CRz9TJL62m1EIpTusMENOYIdw=")
cl.loginResult()
ki = LINETCR.LINE() #Zorro
#ki.login(token="token anda")#ganti dgn token kalian
ki.login(token="EnE8iI4Q79fHhyMFmlJ6.XJZfcwnQLFQ1AiEvsLeXXG.RMx2KDt/Wsp0WPyfXh6Rs+1lqdov3EsrWd1l4n6DHYk=")
ki.loginResult()
kk = LINETCR.LINE() #Sanji
#kk.login(token="token anda")#ganti dgn token kalian
kk.login(token="EndDC8HmPoojIWUxvhNc.XbuRynX+X7zZLGMeCRjJha.rs94Lp/c/qXziF5fNE7QNXuloLJ+EZvmruKM59eo+tk=")
kk.loginResult()
kc = LINETCR.LINE() #Ussop
#kc.login(token="token anda")#ganti dgn token kalian
kc.login(token="Enzya6M88iKis3HpJ249.TnWkGXuAepcrhzovazixUq.bZggHb+mdMnq7MeJvJrj+XeFSqGB/e0mpv/v7WIiBYA=")
kc.loginResult()
ks = LINETCR.LINE() #Chooper
#ks.login(token="token anda")#ganti dgn token kalian
ks.login(token="EnodgF2bKLZGGF45vycd.BbiXae1hQNxBW2egVFPFZq.LR6sJ+1TptTZqZgC4sbPEOhNfRIE7/iOuKQNUp1wqOU=")
ks.loginResult()
ka = LINETCR.LINE() #Franky
#ka.login(token="token anda")#ganti dgn token kalian
ka.login(token="Enq4b7JY6RXRtMrkx7j5.e8Xb7RPVkeMfw2cYx28gbq.jFIIJaPymrcTfqha9fSSOincg9pfaiBOyYWc079+vXg=")
ka.loginResult()
kb = LINETCR.LINE() #Brook
#kb.login(token="token anda")#ganti dgn token kalian
kb.login(token="Eno1w40fSrNWFu19Tm5d.cs0NY2cddDk6BMKCVLy7xq.4IKasxObecKH3frmXqEKSsXqKLnhcIfrgtziNg0W77c=")
kb.loginResult()
ko = LINETCR.LINE() #Nami
#ko.login(token="token anda")#ganti dgn token kalian
ko.login(token="EnXy9QSPIAEInIR48jY7.S2buvWa/ybKspv/ol2PR9W.cqLDweJ553uewFBDSIlYg9iWK7pyfP1pFHJgkjD/M9c=")
ko.loginResult()
ke = LINETCR.LINE() #Robin
#ke.login(token="token anda")#ganti dgn token kalian
ke.login(token="EnRtpz57apVmH7cxOQ3b.IXKXK6LFfrRLlynpkbC8oW.xPP4Ce2g4Jiv1YRSJkhdsPRw7XV5s8d9QKlumiK/yKA=")
ke.loginResult()
ku = LINETCR.LINE() #Rebecca
#ku.login(token="token anda")#ganti dgn token kalian
ku.login(token="En3qHldKsR7WKyzUCRz3.AcPOUa9oo8qTw0R6Snc5uW.hxOUaUkXHbOOokZmwED77EhAGRBV7Rq+D+U9dBqkQL4=")
ku.loginResult()
k1 = LINETCR.LINE() #ViolaBackup
#k1.login(token="token anda")#ganti dgn token kalian
k1.login(token="EncUbKTtaJWQUNLNJtF5.NFGDbF6wLvchxWolldv/Lq.PHfVnc2GBxTtjgHZf6K9Qi7vgfZS42PZYoOcZSzMkQk=")
k1.loginResult()
print "login success Boss"
reload(sys)
sys.setdefaultencoding('utf-8')
helpMessage =""" ^[One Piece Bot]^
OWNER •Kris thea•
http://line.me/ti/p/GkwfNjoPDH
Command bot for owner :
======================
> Set/Status
> Help
> Admin menu
> Gn (ganti nama grup)
> kick mid (kick + mid target)
> Invite mid (Invite + mid target)
> Admin add @ (tambah admin + tag kontak)
> Admin remove @ (hapus admin + tag kontak)
> Adminlist/adminlist (list admin)
> Allbio: ... (bikin status di bio bot)
> Myname:...
> Cancel (membatalkan undangan)
> Buka qr
> Tutup qr
> Info Group (info grup tsb)
> Message change: ...
> /invitemeto: ... (/invitemeto: id group)
> Kuy/One piece/Join OP (Bot masuk group)owner/creator
> Kuya/Koplak OP (bot masuk group)bot
> Koplak join (bot masuk room)
> Bye op/Kabur all/Kaboor all/One piece left (klr dari room)
> Kabur OP(klr Room)
> Bot like (semua bot ngelike status akun utama)
> Like temen (semua bot ngelike status temen)
> Kill ..(kick banned)
> Ready op (ratakan)
> Nk .. (kick tag member)
> LG (list group)
> Bot out/Op bye (klr dari semua group)
> Add on/off
> Comment on/off
> Jam on
> Change clock
> Jam Update
[ command di atas hanya utk owner bot => kris ] {klw ada apa2 pm dia}
Command bot for admin :
=======================
> Admin menu
> Help
> Keyword
> Spam: ...
> Bot? (cek kontak bot)
> Me
> My mid (cek mid kita sendiri)
> Mid Bot (cek mid bot)
> Cctv (ngeset Reader)
> Ciduk (ngecek yg ngintip)
> Tag all/Tagall (tag semua member)
> Blacklist @
> Banned @
> Mid @
> Unban @
> Up/up/Up Chat/Up chat/up chat/Upchat/upchat (naik chat spam)
> GBc ... (ngeBC ke semua group yg ada bot trsbt)
> Absen/Absen bot/Absen dulu/Respon
> Speed/Sp
> Ban
> Unban
> Creator
> Banlist
> Cek ban
> Kill ban
> Clear
******************"""
keyword =""" ^[One Piece Bot]^
bot chat :
==========
> Wkwkwk/Wkwk/Wk
> Hehehe/Hehe/He
> Galau
> You
> Hadeuh
> Please
> Haaa
> Lol
> Hmmm/Hmm/Hm
> Welcome
> #welcome
> Woy/woy/Woi/bot/Bot
keywordiseng :
===============
> Apakah [sebutkan kata yg anda mau]
> Berapa besar cinta [sebutkan kata yg anda mau]
> Adakah [sebutkan kata yg anda mau]
> Cakepkah [sebutkan kata yg anda mau]
> Siapakah cewek [sebutkan kata yg anda mau]
> Siapakah cowok [sebutkan kata yg anda mau]
******************#"""
Setgroup ="""
[Admin Menu]
==============
||[Protect QR]
||- Qr on/off
||[Protect Join]
||- Join on/off
||[Mid Via Contact]
||- Contact on/off
||-[Cancel Invited]
||- Cancel all
==============
ONE PIECE BOT
==============#"""
KAC=[cl,ki,kk,kc,ks,ka,kb,ko,ke,ku]
DEF1=[ki,kk,kc,ks,ka,kb,ko,ke,ku] #Udah Ga Kepake(Boleh di apus)
DEF2=[cl,kk,kc,ks,ka,kb,ko,ke,ku] #Udah Ga Kepake(Boleh di apus)
DEF3=[cl,ki,kc,ks,ka,kb,ko,ke,ku] #Udah Ga Kepake(Boleh di apus)
DEF4=[cl,ki,kk,ks,ka,kb,ko,ke,ku] #Udah Ga Kepake(Boleh di apus)
DEF5=[cl,ki,kk,kc,ka,kb,ko,ke,ku] #Udah Ga Kepake(Boleh di apus)
DEF6=[cl,ki,kk,kc,ks,kb,ko,ke,ku] #Udah Ga Kepake(Boleh di apus)
DEF7=[cl,ki,kk,kc,ks,ka,ko,ke,ku] #Udah Ga Kepake(Boleh di apus)
DEF8=[cl,ki,kk,kc,ks,ka,kb,ke,ku] #Udah Ga Kepake(Boleh di apus)
DEF9=[cl,ki,kk,kc,ks,ka,kb,ko,ku] #Udah Ga Kepake(Boleh di apus)
DEF10=[cl,ki,kk,kc,ks,ka,kb,ko,ke] #Udah Ga Kepake(Boleh di apus)
mid = cl.getProfile().mid #Luffy
Amid = ki.getProfile().mid #Zorro
Bmid = kk.getProfile().mid #Sanji
Cmid = kc.getProfile().mid #Ussop
Dmid = ks.getProfile().mid #Chooper
Emid = ka.getProfile().mid #Franky
Fmid = kb.getProfile().mid #Brook
Gmid = ko.getProfile().mid #Nami
Hmid = ke.getProfile().mid #Robin
Imid = ku.getProfile().mid #Rebecca
Smid = satpam.getProfile().mid #Akun Utama
mid1 = k1.getProfile().mid #Backup
Bots=[mid,Amid,Bmid,Cmid,Dmid,Emid,Fmid,Gmid,Hmid,Imid,Smid,mid1]
induk=[mid]
xbots=[Cmid,Dmid,Emid]
admin=["ub76a0153a283da9a1443dfb043181335"] #krisna,kris,usop,choper,franky
owner=["ub76a0153a283da9a1443dfb043181335"]
wait = {
'contact':False,
'autoJoin':True,
'autoCancel':{"on":True,"members":1},
'leaveRoom':True,
'timeline':True,
'autoAdd':True,
'message':"""тerima Kasih Sudah Menambahkan Aku Jadi Teman
≫ Aku Ga Jawab PM Karna aq Cuma Bot Protect ≪
≫ ONE PIECE BOT PROTECT ≪
Ready:
≫ bot protect ≪
≫ SelfBot ≪
ṡȗƿƿȏяṭєԀ ɞʏ:
☆ FS3I FAMILY ☆
☆ ONE PIECE BOT PROTECT ☆
☆ SMULE VOICE FAMILY ☆
☆ FOUNDER COMMUNITY ☆
☆ ASOSIATION FOUNDER INDONESIA ☆
☆ Generasi Kickers Killers ☆
Minat? Silahkan PM!
Idline: http://line.me/ti/p/~alrahmantoganteng""",
"lang":"JP",
"comment":"Thanks for add me",
"commentOn":False,
"commentBlack":{},
"wblack":False,
"dblack":False,
"clock":False,
"cName":"™1™ ",
"cName2":"™2™ ",
"cName3":"™3™ ",
"cName4":"™4™ ",
"cName5":"™5™ ",
"cName6":"™Franky™ ",
"cName7":"™Brook™ ",
"cName8":"™Nami™ ",
"cName9":"™Robin™ ",
"cName10":"™Rebecca™ ",
"cName11":"",
"cName12":"™ONE PIECE BOT™ ",
"blacklist":{},
"wblacklist":False,
"dblacklist":False,
"Protectgr":True,
#"Protectjoin":True, # Ga Kepake(Yang Gabung langsung di kick :D) Udah Udah ada Protect Cancell
"Protectcancl":True,
"protectionOn":True,
"atjointicket":True
}
wait2 = {
'readPoint':{},
'readMember':{},
'setTime':{},
'ROM':{}
}
setTime = {}
setTime = wait2['setTime']
def sendMessage(to, text, contentMetadata={}, contentType=0):
mes = Message()
mes.to, mes.from_ = to, profile.mid
mes.text = text
mes.contentType, mes.contentMetadata = contentType, contentMetadata
if to not in messageReq:
messageReq[to] = -1
messageReq[to] += 1
#def NOTIFIED_READ_MESSAGE(op):
#try:
#if op.param1 in wait2['readPoint']:
#Name = cl.getContact(op.param2).displayName
#if Name in wait2['readMember'][op.param1]:
#pass
#else:
#wait2['readMember'][op.param1] += "\n・" + Name
#wait2['ROM'][op.param1][op.param2] = "・" + Name
#else:
#pass
#except:
#pass
def bot(op):
try:
if op.type == 0:
return
if op.type == 5:
if wait["autoAdd"] == True:
cl.findAndAddContactsByMid(op.param1)
if (wait["message"] in [""," ","\n",None]):
pass
else:
cl.sendText(op.param1,str(wait["message"]))
#------Protect Group Kick start------#
if op.type == 11:
if wait["Protectgr"] == True:
if op.param2 not in Bots:
G = random.choice(KAC).getGroup(op.param1)
G.preventJoinByTicket = True
random.choice(KAC).kickoutFromGroup(op.param1,[op.param2])
random.choice(KAC).updateGroup(G)
random.choice(KAC).sendText(op.param1,random.choice(KAC).getContact(op.param2).displayName + "Jangan Buka Kode QR Woooyyy")
#------Protect Group Kick finish-----#
#------Cancel Invite User start------#
if op.type == 13:
if wait["Protectcancl"] == True:
if op.param2 not in Bots:
group = cl.getGroup(op.param1)
gMembMids = [contact.mid for contact in group.invitee]
random.choice(KAC).cancelGroupInvitation(op.param1, gMembMids)
#------Cancel Invite User Finish------#
if op.type == 13:
if op.param3 in mid:
if op.param2 in Amid:
G = Amid.getGroup(op.param1)
G.preventJoinByTicket = False
Amid.updateGroup(G)
Ticket = Amid.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
G.preventJoinByTicket = True
Amid.updateGroup(G)
Ticket = Amid.reissueGroupTicket(op.param1)
if op.param3 in Amid:
if op.param2 in mid:
X = cl.getGroup(op.param1)
X.preventJoinByTicket = False
cl.updateGroup(X)
Ti = cl.reissueGroupTicket(op.param1)
ki.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
ki.updateGroup(X)
Ti = ki.reissueGroupTicket(op.param1)
if op.param3 in Bmid:
if op.param2 in Amid:
X = ki.getGroup(op.param1)
X.preventJoinByTicket = False
ki.updateGroup(X)
Ti = ki.reissueGroupTicket(op.param1)
kk.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
kk.updateGroup(X)
Ti = kk.reissueGroupTicket(op.param1)
if op.param3 in Cmid:
if op.param2 in Bmid:
X = kk.getGroup(op.param1)
X.preventJoinByTicket = False
kk.updateGroup(X)
Ti = kk.reissueGroupTicket(op.param1)
kc.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
kc.updateGroup(X)
Ti = kc.reissueGroupTicket(op.param1)
if op.param3 in Dmid:
if op.param2 in Cmid:
X = kc.getGroup(op.param1)
X.preventJoinByTicket = False
kc.updateGroup(X)
Ti = kc.reissueGroupTicket(op.param1)
ks.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
ks.updateGroup(X)
Ti = ks.reissueGroupTicket(op.param1)
if op.param3 in Emid:
if op.param2 in Dmid:
X = ks.getGroup(op.param1)
X.preventJoinByTicket = False
ks.updateGroup(X)
Ti = ks.reissueGroupTicket(op.param1)
ka.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
ka.updateGroup(X)
Ti = ka.reissueGroupTicket(op.param1)
if op.param3 in Fmid:
if op.param2 in Emid:
X = ka.getGroup(op.param1)
X.preventJoinByTicket = False
ka.updateGroup(X)
Ti = ka.reissueGroupTicket(op.param1)
kb.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
kb.updateGroup(X)
Ti = kb.reissueGroupTicket(op.param1)
if op.param3 in Gmid:
if op.param2 in Fmid:
X = kb.getGroup(op.param1)
X.preventJoinByTicket = False
kb.updateGroup(X)
Ti = kb.reissueGroupTicket(op.param1)
ko.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
ko.updateGroup(X)
Ti = ko.reissueGroupTicket(op.param1)
if op.param3 in Hmid:
if op.param2 in Gmid:
X = ko.getGroup(op.param1)
X.preventJoinByTicket = False
ko.updateGroup(X)
Ti = ko.reissueGroupTicket(op.param1)
ke.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
ke.updateGroup(X)
Ti = ke.reissueGroupTicket(op.param1)
if op.param3 in Imid:
if op.param2 in mid:
X = cl.getGroup(op.param1)
X.preventJoinByTicket = False
cl.updateGroup(X)
Ti = cl.reissueGroupTicket(op.param1)
ku.acceptGroupInvitationByTicket(op.param1,Ti)
X.preventJoinByTicket = True
cl.updateGroup(X)
Ti = cl.reissueGroupTicket(op.param1)
if op.type == 13:
print op.param1
print op.param2
print op.param3
if mid in op.param3:
G = cl.getGroup(op.param1)
if wait["autoJoin"] == True:
if wait["autoCancel"]["on"] == True:
if len(G.members) <= wait["autoCancel"]["members"]:
cl.rejectGroupInvitation(op.param1)
else:
cl.acceptGroupInvitation(op.param1)
else:
cl.acceptGroupInvitation(op.param1)
elif wait["autoCancel"]["on"] == True:
if len(G.members) <= wait["autoCancel"]["members"]:
cl.rejectGroupInvitation(op.param1)
else:
Inviter = op.param3.replace("",',')
InviterX = Inviter.split(",")
matched_list = []
for tag in wait["blacklist"]:
matched_list+=filter(lambda str: str == tag, InviterX)
if matched_list == []:
pass
else:
cl.cancelGroupInvitation(op.param1, matched_list)
#------Joined User Kick start------#
#if op.type == 17: #awal 17 ubah 13
#if wait["Protectjoin"] == True:
#if op.param2 not in admin and Bots : # Awalnya admin doang
#random.choice(KAC).kickoutFromGroup(op.param1,[op.param2])
#------Joined User Kick start------#
if op.type == 19: #Member Ke Kick
if op.param2 not in Bots:
random.choice(KAC).kickoutFromGroup(op.param1,[op.param2])
random.choice(KAC).inviteIntoGroup(op.param1,[op.param3])
if op.type == 19:
if op.param2 in induk:
random.choice(KAC).kickoutFromGroup(op.param1,[op.param2])
random.choice(xbots).inviteIntoGroup(op.param1,[op.param3])
if op.type == 19:
if op.param2 in Bots:
G = cl.getGroup(msg.to)
ginfo = cl.getGroup(msg.to)
G.preventJoinByTicket = False
cl.updateGroup(G)
invsend = 0
Ticket = cl.reissueGroupTicket(msg.to)
ki.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
k1.acceptGroupInvitationByTicket(msg.to,Ticket)
time.sleep(0.01)
G = cl.getGroup(msg.to)
ginfo = cl.getGroup(msg.to)
G.preventJoinByTicket = True
cl.updateGroup(G)
G.preventJoinByTicket(G)
random.choice(KAC).updateGroup(G)
if op.type == 19:
if op.param3 in admin: #Kalo Admin ke Kick
if op.param2 in Bots:
pass
if op.param2 in owner:
pass
else:
random.choice(KAC).kickoutFromGroup(op.param1,[op.param2])
cl.inviteIntoGroup(op.param1,[op.param3])
if op.type == 19:
try:
if op.param3 in Smid: #Akun Utama Ke Kick
G = random.choice(KAC).getGroup(op.param1)
random.choice(KAC).kickoutFromGroup(op.param1,[op.param2])
G.preventJoinByTicket = False
random.choice(KAC).updateGroup(G)
Ticket = random.choice(KAC).reissueGroupTicket(op.param1)
satpam.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
random.choice(KAC).updateGroup(G)
satpam.updateGroup(G)
wait["blacklist"][op.param2] = True
if op.param3 in Smid:
if op.param2 in mid:
G = cl.getGroup(op.param1)
G.preventJoinByTicket = False
cl.updateGroup(G)
Ticket = cl.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
cl.updateGroup(G)
else:
G = cl.getGroup(op.param1)
cl.kickoutFromGroup(op.param1,[op.param2])
G.preventJoinByTicket = False
cl.updateGroup(G)
Ticket = cl.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
satpam.updateGroup(G)
cl.updateGroup(G)
wait["blacklist"][op.param2] = True
if op.param3 in mid:
if op.param2 in Amid:
G = ki.getGroup(op.param1)
G.preventJoinByTicket = False
ki.updateGroup(G)
Ticket = ki.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
ki.updateGroup(G)
else:
G = ki.getGroup(op.param1)
ki.kickoutFromGroup(op.param1,[op.param2])
G.preventJoinByTicket = False
ki.updateGroup(G)
Ticket = ki.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
cl.updateGroup(G)
ki.updateGroup(G)
wait["blacklist"][op.param2] = True
if op.param3 in Amid:
if op.param2 in Bmid:
G = kk.getGroup(op.param1)
G.preventJoinByTicket = False
kk.updateGroup(G)
Ticket = kk.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
kk.updateGroup(G)
else:
G = kk.getGroup(op.param1)
kk.kickoutFromGroup(op.param1,[op.param2])
G.preventJoinByTicket = False
kk.updateGroup(G)
Ticket = kk.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
#cl.updateGroup(G)
kk.updateGroup(G)
#wait["blacklist"][op.param2] = True
if op.param3 in Bmid:
if op.param2 in Cmid:
G = kc.getGroup(op.param1)
G.preventJoinByTicket = False
kc.updateGroup(G)
Ticket = kc.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
kc.updateGroup(G)
else:
G = kc.getGroup(op.param1)
kc.kickoutFromGroup(op.param1,[op.param2])
G.preventJoinByTicket = False
kc.updateGroup(G)
Ticket = kc.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
#cl.updateGroup(G)
kc.updateGroup(G)
#wait["blacklist"][op.param2] = True
if op.param3 in Cmid:
if op.param2 in Dmid:
G = ks.getGroup(op.param1)
G.preventJoinByTicket = False
ks.updateGroup(G)
Ticket = ks.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
ks.updateGroup(G)
else:
G = ks.getGroup(op.param1)
ks.kickoutFromGroup(op.param1,[op.param2])
G.preventJoinByTicket = False
ks.updateGroup(G)
Ticket = ks.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
#cl.updateGroup(G)
ks.updateGroup(G)
#wait["blacklist"][op.param2] = True
if op.param3 in Dmid:
if op.param2 in Emid:
G = ka.getGroup(op.param1)
G.preventJoinByTicket = False
ka.updateGroup(G)
Ticket = ka.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
ka.updateGroup(G)
else:
G = ka.getGroup(op.param1)
ka.kickoutFromGroup(op.param1,[op.param2])
G.preventJoinByTicket = False
ka.updateGroup(G)
Ticket = ka.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
#cl.updateGroup(G)
ka.updateGroup(G)
#wait["blacklist"][op.param2] = True
if op.param3 in Emid:
if op.param2 in Fmid:
G = kb.getGroup(op.param1)
G.preventJoinByTicket = False
kb.updateGroup(G)
Ticket = kb.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
kb.updateGroup(G)
else:
G = kb.getGroup(op.param1)
kb.kickoutFromGroup(op.param1,[op.param2])
G.preventJoinByTicket = False
kb.updateGroup(G)
Ticket = kb.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
#cl.updateGroup(G)
kb.updateGroup(G)
#wait["blacklist"][op.param2] = True
if op.param3 in Gmid:
if op.param2 in Hmid:
G = ku.getGroup(op.param1)
G.preventJoinByTicket = False
ku.updateGroup(G)
Ticket = ku.reissueGroupTicket(op.param1)
cl.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ki.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kk.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kc.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ks.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ka.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
kb.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ku.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ko.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
ke.acceptGroupInvitationByTicket(op.param1,Ticket)
time.sleep(0.01)
G.preventJoinByTicket = True
ku.updateGroup(G)
else:
G = ku.getGroup(op.param1)