Add debug
This commit is contained in:
parent
74b2a29be8
commit
553ca15f22
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ s = on_command('summary', developers=['Dianliang233'], desc='生成聊天记录
|
|||
@s.handle()
|
||||
async def _(msg: Bot.MessageSession):
|
||||
f_msg = await msg.waitNextMessage('请发送要生成摘要的合并转发消息。')
|
||||
await msg.sendMessage(f_msg.asDisplay())
|
||||
data = await f_msg.call_api('get_forward_msg', msg_id=re.search(r'\[Ke:forward,id=(.*?)\]', f_msg.asDisplay()).group(1))
|
||||
msgs = data['data']['messages']
|
||||
text = ''
|
||||
|
|
Reference in a new issue