mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-02 20:14:36 +00:00
Signed-off-by: 26751 <2675174581@qq.com>
This commit is contained in:
@@ -54,7 +54,7 @@ def process_command(session_name: str, text_message: str, mgr, config,
|
||||
try:
|
||||
reply = cmdmgr.execute(context)
|
||||
except cmdmgr.CommandPrivilegeError as e:
|
||||
reply = [format(e)]
|
||||
reply = ["{}".format(e)]
|
||||
|
||||
return reply
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user