-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathreject.py
More file actions
30 lines (30 loc) · 1.59 KB
/
reject.py
File metadata and controls
30 lines (30 loc) · 1.59 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
print ("""
┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
┃ ✯͜͡❂➣ PC Windows + IOS IPAD + CHOME OS + WIN10
┃ ✯͜͡❂➣ เครดิตการแก้ ( ห้ามเปลี่ยนส่วนนี้ )
┃ ✯͜͡❂➣ ไลน์ไอดี :: http://line.me/ti/p/%40jnx0914l
┃ ✯͜͡❂➣ ลิขสิทธิ์ :: http://github.com/teambotmax
┃ ✯͜͡❂➣ ประเทศ :: ไทย ( Thailand )
┃ ✯͜͡❂➣ ผู้สร้าง :: แม็กซ์ บินแหลก ( TEAM BOT MAX )
┃ ✯͜͡❂➣ เวอร์ชั่น :: 10.0.0.0
┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━""")
from MaxLatestVersion import *
from time import sleep
try:
with open('token.txt','r') as lg:
MAXz = lg.read()
maxbots = TEAMBOTMAXv2(MAXz)
except:
maxbots = TEAMBOTMAXv2()
with open('token.txt','w') as lg:
lg.write(maxbots.authToken)
print ('++ Auth Token : %s' % maxbots.authToken)
int1 = len(maxbots.getGroupIdsInvited())
if int1 == 0:
print("✯͜͡❂ ไม่มีกลุ่มที่ค้างเชิญ")
else:
for groups in maxbots.getGroupIdsInvited():
print("✯͜͡❂ กำลังปฏิเสธการเชิญกลุ่ม " + maxbots.getGroup(groups).name)
sleep(2)
maxbots.rejectGroupInvitation(groups)
print("\n✯͜͡❂ คุณปฏิเสธ「 " + str(int1) + " 」คำเชิญกลุ่ม")