mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-01-19 17:58:26 +08:00
✏️ fix typo
This commit is contained in:
parent
9241f4df79
commit
5fb9799807
@ -118,7 +118,7 @@ async def _check_reply(bot: "Bot", event: "Event"):
|
|||||||
del event.message[index]
|
del event.message[index]
|
||||||
if len(event.message) > index and event.message[index].type == "at":
|
if len(event.message) > index and event.message[index].type == "at":
|
||||||
del event.message[index]
|
del event.message[index]
|
||||||
if len(event.message) > index and event.message[index].type == "test":
|
if len(event.message) > index and event.message[index].type == "text":
|
||||||
event.message[index].data["text"] = event.message[index].data[
|
event.message[index].data["text"] = event.message[index].data[
|
||||||
"text"].strip()
|
"text"].strip()
|
||||||
if not event.message:
|
if not event.message:
|
||||||
|
Loading…
Reference in New Issue
Block a user