修改自定义提示语

This commit is contained in:
26751
2023-04-01 00:52:35 +08:00
parent ced38490e1
commit ac1fb4a63a
6 changed files with 54 additions and 7 deletions

View File

@@ -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 = ["[bot]err:{}".format(e)]
reply = [format(e)]
return reply
except Exception as e: