From bf5c10b7a79e25ea3338789b961e3fb4e7e7139f Mon Sep 17 00:00:00 2001 From: MixBadGun <1059129006@qq.com> Date: Wed, 3 Dec 2025 22:23:44 +0800 Subject: [PATCH] notice test --- konabot/plugins/simple_notify/__init__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/konabot/plugins/simple_notify/__init__.py b/konabot/plugins/simple_notify/__init__.py index 1e197c5..bd0e265 100644 --- a/konabot/plugins/simple_notify/__init__.py +++ b/konabot/plugins/simple_notify/__init__.py @@ -108,9 +108,10 @@ async def _(task: LongTask): await task.target.send_message( UniMessage().text(f"代办提醒:{message}") ) - notice_bytes = NoticeUI.render_notice("代办提醒", message) + notice_bytes = await NoticeUI.render_notice("代办提醒", message) await task.target.send_message( - await UniMessage().image(raw=notice_bytes).export() + UniMessage().image(raw=notice_bytes), + at=False ) async with DATA_FILE_LOCK: data = load_notify_config()