fix: !list指令显示的是机器人第一次回复 (#264)

This commit is contained in:
Rock Chin 2023-03-12 20:31:28 +08:00
parent 9cd7e49804
commit d2c2b457e5

View File

@ -234,7 +234,7 @@ def process_command(session_name: str, text_message: str, mgr, config,
if len(msg) >= 2:
reply_str += "#{} 创建:{} {}\n".format(i + page * 10,
datetime_obj.strftime("%Y-%m-%d %H:%M:%S"),
msg[1]['content'])
msg[0]['content'])
else:
reply_str += "#{} 创建:{} {}\n".format(i + page * 10,
datetime_obj.strftime("%Y-%m-%d %H:%M:%S"),