perf: 回复图片时控制台输出

This commit is contained in:
Rock Chin 2022-12-27 23:01:04 +08:00
parent 74fb8ef15c
commit 7b5d47a2ca

View File

@ -188,6 +188,8 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str) ->
"回复[{}]文字消息:{}".format(session_name,
reply[0][:min(100, len(reply[0]))] + ("..." if len(reply[0]) > 100 else "")))
reply = [mgr.reply_filter.process(reply[0])]
else:
logging.info("回复[{}]图片消息:{}".format(session_name, reply))
finally:
processing.remove(session_name)