perf: 回复图片时带上prompt #70

This commit is contained in:
Rock Chin 2022-12-31 00:06:10 +08:00
parent bb151c3c1c
commit 88ec74c0a4

View File

@ -140,7 +140,7 @@ def process_message(launcher_type: str, launcher_id: int, text_message: str) ->
res = session.draw_image(" ".join(params))
logging.debug("draw_image result:{}".format(res))
reply = [Image(url=res['data'][0]['url'])]
reply = [Image(url=res['data'][0]['url']), " ".join(params)]
except Exception as e:
mgr.notify_admin("{}指令执行失败:{}".format(session_name, e))
logging.exception(e)