fix : 移除dev
This commit is contained in:
@@ -149,7 +149,6 @@ if appid is None or secret_bot is None :
|
||||
logger.info("登录账号:"+appid)
|
||||
|
||||
# bobby Session
|
||||
if not dev is None:
|
||||
if bbyAccount is None or bbyPasswd is None :
|
||||
raise SystemError("未找到账密配置")
|
||||
if appid is None or secret_bot is None :
|
||||
@@ -177,7 +176,6 @@ ws = djtuWebsocket(Intents_ex(public_messages=True,member_event=True))
|
||||
# 启动mcwatcher线程
|
||||
def pushQuene(cont:str):
|
||||
ws.q.put(cont)
|
||||
if not dev is None :
|
||||
Thread(target=watcher.MCWatcher,name="watcher",kwargs={
|
||||
"hookfunction":pushQuene,
|
||||
"logging":logger
|
||||
|
||||
Reference in New Issue
Block a user