🐛 修复导入警告,添加类型忽略注释

This commit is contained in:
远野千束 2024-11-05 19:34:47 +08:00
parent 54bc05642d
commit 9dc5951079

View File

@ -190,7 +190,7 @@ async def marsho(target: MsgTarget, event: Event, text: Optional[UniMsg] = None)
with contextlib.suppress(ImportError): # 优化先不做()
import nonebot.adapters.onebot.v11
import nonebot.adapters.onebot.v11 # type: ignore
from .azure_onebot import poke_notify
@poke_notify.handle()