Merge pull request #262 from chordfish-k/json_scenario

[Feat] 情景预设(人格)完善
This commit is contained in:
Rock Chin
2023-03-12 20:40:20 +08:00
committed by GitHub
9 changed files with 140 additions and 49 deletions

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"),