Untitled

 avatar
unknown
python
3 years ago
1.3 kB
18
Indexable
import os
os.system("pip3 install Dick.py==2.1")
import json
import requests
import amino,requests
from concurrent.futures import ThreadPoolExecutor
clint=amino.Client()
sid="AnsiMSI6IG51bGwsICIwIjogMiwgIjMiOiAwLCAiMiI6ICIzYmViNWNhZS1mMGM5LTQzNmUtODljOC0zNTcxOGVhMzg2NTQiLCAiNSI6IDE2NTg1NzI0OTUsICI0IjogIjEwNi43Ni42OS45IiwgIjYiOiAxMDB9sLCCUpLXYdf39iG5q0oIidu_6Yk" #Your SID
clint.login_sid(sid)
chat = "ur chat"  # chat that you have host in it
user="user link"
#headers=clint.headers
x=clint.get_from_code(chat)
com=[]
x1=clint.get_from_code(user)
comId=x.path[1:x.path.index('/')]
chatId=x.objectId
subclint=amino.SubClient(comId=comId,profile=clint.profile)
subclin=amino.SubClient(comId=x1.path[1:x1.path.index('/')],profile=clint.profile)

def send():
	for i in range(100):
			try:
				subclint.edit_chat(chatId=chatId,coHosts=user)
			except:
				print("Cohost Invite......")
def pain():
    with ThreadPoolExecutor() as executor:
        _ = [executor.submit(send)for i in range(1000)]
def okok():
    with ThreadPoolExecutor() as executor:
        _ = [executor.submit(pain)for i in range(1000)]
def main():
    with ThreadPoolExecutor() as executor:
        _ = [executor.submit(okok)for i in range(1000)]
if __name__ == "__main__":
    main()