Update message.py

删掉一个不知道从哪冒出来的一段
This commit is contained in:
Mix
2020-02-21 18:48:55 +08:00
committed by GitHub
parent 4bb1ea7c35
commit 6166ee10f5

View File

@ -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(''))