From 7fb0f105cf6fc76f99739deb2ec348d0a7c6410b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=A4=E5=AE=88=E3=81=AE=E3=81=8A=E8=8F=93=E5=AD=90?= =?UTF-8?q?=E5=B1=8B?= <852496245@qq.com> Date: Mon, 30 Oct 2023 11:30:14 +0800 Subject: [PATCH] fix await --- nonebot/adapters/red/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nonebot/adapters/red/bot.py b/nonebot/adapters/red/bot.py index 255088b..39c2a6f 100644 --- a/nonebot/adapters/red/bot.py +++ b/nonebot/adapters/red/bot.py @@ -235,7 +235,7 @@ async def send( ChatType(chatType), peerUin, ) - element_data = message.export(self) + element_data = await message.export(self) resp = await self.call_api( "send_message", chat_type=chatType,