mirror of
https://github.com/LiteyukiStudio/nonebot-plugin-marshoai.git
synced 2024-11-23 01:27:38 +08:00
🐛 修复导入警告,添加类型忽略注释
This commit is contained in:
parent
54bc05642d
commit
9dc5951079
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user