def __init__(self,path,password=None,server_id=None, disable_auto_login=True,timeout=10):
self.timeout = timeout
self.server_id = server_id
self.password = password
self.disable_auto_login = disable_auto_login
if disable_auto_login:
self.client = toxclient.Toxclient(path)
else:
self.client = toxclient.Toxclient(path,password)
self.exec_lock = threading.Lock()
评论列表
文章目录