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()