From 5fb97998072bab6ca8935d44901fa9e934cf53cf Mon Sep 17 00:00:00 2001 From: yanyongyu Date: Fri, 20 Nov 2020 01:37:53 +0800 Subject: [PATCH] :pencil2: fix typo --- nonebot/adapters/cqhttp/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/adapters/cqhttp/__init__.py b/nonebot/adapters/cqhttp/__init__.py index 92d118af..d67184fe 100644 --- a/nonebot/adapters/cqhttp/__init__.py +++ b/nonebot/adapters/cqhttp/__init__.py @@ -118,7 +118,7 @@ async def _check_reply(bot: "Bot", event: "Event"): del event.message[index] if len(event.message) > index and event.message[index].type == "at": 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[ "text"].strip() if not event.message: