mirror of
https://github.com/nonebot/nonebot2.git
synced 2024-11-28 02:55:18 +08:00
Update message.py
删掉一个不知道从哪冒出来的一段
This commit is contained in:
parent
4bb1ea7c35
commit
6166ee10f5
@ -79,7 +79,7 @@ def _check_at_me(bot: NoneBot, ctx: Context_T) -> None:
|
||||
|
||||
if last_msg_seg == at_me_seg:
|
||||
ctx['to_me'] = True
|
||||
del ctx['message'][i:]ctx["message"]
|
||||
del ctx['message'][i:]
|
||||
|
||||
if not ctx['message']:
|
||||
ctx['message'].append(MessageSegment.text(''))
|
||||
|
Loading…
Reference in New Issue
Block a user