mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-28 16:24:51 +08:00
fix: require()插件错误
This commit is contained in:
parent
581aa7d6cc
commit
91b14d568c
@ -1,15 +1,19 @@
|
|||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
import nonebot
|
import nonebot
|
||||||
from nonebot import on_message
|
from nonebot import on_message, require
|
||||||
from arclet.alconna import Arparma, Alconna, Args, Option, Subcommand, Arg
|
|
||||||
from nonebot.plugin import PluginMetadata
|
from nonebot.plugin import PluginMetadata
|
||||||
from nonebot_plugin_alconna import on_alconna
|
|
||||||
from liteyuki.utils.data import LiteModel
|
from liteyuki.utils.data import LiteModel
|
||||||
from liteyuki.utils.message import send_markdown
|
from liteyuki.utils.message import send_markdown
|
||||||
from liteyuki.utils.ly_typing import T_Bot, T_MessageEvent
|
from liteyuki.utils.ly_typing import T_Bot, T_MessageEvent
|
||||||
from liteyuki.utils.data import Database
|
from liteyuki.utils.data import Database
|
||||||
|
|
||||||
|
require("nonebot_plugin_alconna")
|
||||||
|
from nonebot_plugin_alconna import on_alconna
|
||||||
|
from arclet.alconna import Arparma, Alconna, Args, Option, Subcommand, Arg
|
||||||
|
|
||||||
|
|
||||||
class Node(LiteModel):
|
class Node(LiteModel):
|
||||||
bot_id: str
|
bot_id: str
|
Loading…
Reference in New Issue
Block a user