mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 03:55:55 +00:00
feat: 提示未知指令
This commit is contained in:
@@ -171,6 +171,8 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str, mes
|
||||
pkg.utils.reloader.reload_all()
|
||||
|
||||
threading.Thread(target=update_task, daemon=True).start()
|
||||
else:
|
||||
reply = ["[bot]err:未知的指令或权限不足: "+cmd]
|
||||
except Exception as e:
|
||||
mgr.notify_admin("{}指令执行失败:{}".format(session_name, e))
|
||||
logging.exception(e)
|
||||
|
||||
Reference in New Issue
Block a user