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