forked from bot/app
🚀 测试文档工作流
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
from nonebot.plugin import PluginMetadata
|
||||
|
||||
from liteyuki import get_bot
|
||||
from .crt_matchers import * # type: ignore
|
||||
from .rt_guide import * # type: ignore
|
||||
from .crt_matchers import * # type_: ignore
|
||||
from .rt_guide import * # type_: ignore
|
||||
|
||||
__plugin_meta__ = PluginMetadata(
|
||||
|
||||
|
@ -339,7 +339,7 @@ async def _(result: Arparma, event: T_MessageEvent, bot: T_Bot, npm: Matcher):
|
||||
await md.send_md(f"{info}\n\n" f"```\n{log}\n```", bot, event=event)
|
||||
|
||||
elif sc.get("uninstall") and perm_s:
|
||||
plugin_name: str = result.subcommands["uninstall"].args.get("plugin_name") # type: ignore
|
||||
plugin_name: str = result.subcommands["uninstall"].args.get("plugin_name") # type_: ignore
|
||||
found_installed_plugin: InstalledPlugin = plugin_db.where_one(
|
||||
InstalledPlugin(), "module_name = ?", plugin_name
|
||||
)
|
||||
|
18
src/nonebot_plugins/nonebot-plugin-toliteyuki/__init__.py
Normal file
18
src/nonebot_plugins/nonebot-plugin-toliteyuki/__init__.py
Normal file
@ -0,0 +1,18 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
Copyright (C) 2020-2024 LiteyukiStudio. All Rights Reserved
|
||||
|
||||
@Time : 2024/8/19 下午10:30
|
||||
@Author : snowykami
|
||||
@Email : snowykami@outlook.com
|
||||
@File : __init__.py.py
|
||||
@Software: PyCharm
|
||||
"""
|
||||
from nonebot import require
|
||||
|
||||
from liteyuki.comm.storage import shared_memory
|
||||
|
||||
require("nonebot_plugin_alconna")
|
||||
|
||||
from nonebot_plugin_alconna import UniMessage, Command, on_alconna
|
||||
|
Reference in New Issue
Block a user