notice test
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2025-12-03 22:23:44 +08:00
parent 274ca0fa9a
commit bf5c10b7a7

View File

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