mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-09-07 04:26:45 +00:00
Update message.py
删掉一个不知道从哪冒出来的一段
This commit is contained in:
@ -79,7 +79,7 @@ def _check_at_me(bot: NoneBot, ctx: Context_T) -> None:
|
|||||||
|
|
||||||
if last_msg_seg == at_me_seg:
|
if last_msg_seg == at_me_seg:
|
||||||
ctx['to_me'] = True
|
ctx['to_me'] = True
|
||||||
del ctx['message'][i:]ctx["message"]
|
del ctx['message'][i:]
|
||||||
|
|
||||||
if not ctx['message']:
|
if not ctx['message']:
|
||||||
ctx['message'].append(MessageSegment.text(''))
|
ctx['message'].append(MessageSegment.text(''))
|
||||||
|
Reference in New Issue
Block a user