🐛 修复bot个人介绍重载后不重新读取个人介绍文件 (#1990)
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, javascript-typescript) (push) Waiting to run
CodeQL Code Security Analysis / Analyze (${{ matrix.language }}) (none, python) (push) Waiting to run
Sequential Lint and Type Check / ruff-call (push) Waiting to run
Sequential Lint and Type Check / pyright-call (push) Blocked by required conditions
Release Drafter / Update Release Draft (push) Waiting to run
Force Sync to Aliyun / sync (push) Waiting to run
检查bot是否运行正常 / bot check (push) Has been cancelled
Update Version / update-version (push) Has been cancelled

This commit is contained in:
HibiKier
2025-07-24 15:59:28 +08:00
committed by GitHub
parent 62fac483f2
commit da6d5b4be4
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -1,3 +1,4 @@
import asyncio
from typing_extensions import Self
from nonebot.adapters import Bot
@@ -132,6 +133,7 @@ class FgRequest(Model):
bot.self_id
)
if file_path:
await asyncio.sleep(2)
await PlatformUtils.send_message(
bot,
req.user_id,