From e490be9eb0a769130103a023eb681b0cb2537845 Mon Sep 17 00:00:00 2001 From: StarHeartHunt Date: Wed, 7 Jul 2021 22:29:13 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=A8=20tweak?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../nonebot-adapter-feishu/nonebot/adapters/feishu/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/event.py b/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/event.py index 8cf0422a..b0e7a4dd 100644 --- a/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/event.py +++ b/packages/nonebot-adapter-feishu/nonebot/adapters/feishu/event.py @@ -149,7 +149,7 @@ class MessageEvent(Event): @overrides(Event) def get_plaintext(self) -> str: - return str(self.event.message.content) + return str(self.get_message()) @overrides(Event) def get_user_id(self) -> str: