mirror of
https://github.com/TriM-Organization/LiteyukiBot-TriM.git
synced 2024-11-28 08:15:03 +08:00
📝 文档新增特性
This commit is contained in:
parent
3ea0acd48b
commit
b558b51601
@ -35,50 +35,36 @@ highlights:
|
|||||||
details: 拥有良好的生态支持
|
details: 拥有良好的生态支持
|
||||||
link: https://nonebot.dev/
|
link: https://nonebot.dev/
|
||||||
|
|
||||||
- title: 可视化插件管理
|
- title: 便捷插件管理
|
||||||
icon: plug
|
icon: plug
|
||||||
details: 使用<code>npm</code>,无需命令行操作即可安装/卸载插件
|
details: 使用<code>包管理器</code>,无需命令行操作即可安装/卸载插件
|
||||||
|
|
||||||
- title: 点击交互
|
- title: 人性化交互
|
||||||
icon: mouse-pointer
|
icon: mouse-pointer
|
||||||
details: 新的点击交互模式,拒绝手打指令
|
details: 新的点击交互模式,拒绝手打指令
|
||||||
|
|
||||||
- title: 主题支持
|
- title: 主题支持
|
||||||
icon: paint-brush
|
icon: paint-brush
|
||||||
details: 支持多种主题,可自定义资源包,满足你的审美需求
|
details: 使用资源包对外观进行完全自定义
|
||||||
link: https://bot.liteyuki.icu/usage/resource_pack.html
|
link: https://bot.liteyuki.icu/usage/resource_pack.html
|
||||||
|
|
||||||
- title: 国际化
|
- title: 国际化
|
||||||
icon: globe
|
icon: globe
|
||||||
details: 支持多种语言,包括i18n部分语言和自行扩展的语言代码
|
details: 通过资源包支持多种语言
|
||||||
link: https://baike.baidu.com/item/i18n/6771940
|
link: https://baike.baidu.com/item/i18n/6771940
|
||||||
|
|
||||||
- title: 简易配置
|
- title: 简易配置
|
||||||
icon: cog
|
icon: cog
|
||||||
details: 无需过多配置,开箱即用
|
details: 无需繁琐前期过程,开箱即用
|
||||||
link: https://bot.liteyuki.icu/deployment/config.html
|
link: https://bot.liteyuki.icu/deployment/config.html
|
||||||
|
|
||||||
- title: 低占用
|
- title: 高性能
|
||||||
icon: memory
|
icon: tachometer-alt
|
||||||
details: 使用更少的依赖和资源
|
details: 500个插件,3s内启动
|
||||||
|
|
||||||
- title: OneBot标准
|
- title: 滚动更新
|
||||||
icon: link
|
|
||||||
details: 支持OneBotv11/12标准的四种通信协议
|
|
||||||
link: https://onebot.dev/
|
|
||||||
|
|
||||||
- title: Alconna命令解析
|
|
||||||
icon: link
|
|
||||||
details: 使用Alconna实现高效命令解析
|
|
||||||
link: https://github.com/nonebot/plugin-alconna
|
|
||||||
|
|
||||||
- title: 便捷更新
|
|
||||||
icon: cloud-download
|
icon: cloud-download
|
||||||
details: 聊天窗口命令更新,无需手动下载
|
details: 让你的机器人保持最新提交
|
||||||
|
|
||||||
- title: 服务支持
|
|
||||||
icon: server
|
|
||||||
details: 内置轻雪API,可自动收集错误,提供图床服务
|
|
||||||
|
|
||||||
- title: 开源
|
- title: 开源
|
||||||
icon: code
|
icon: code
|
||||||
|
@ -18,7 +18,6 @@ async def load_plugins():
|
|||||||
# 从数据库读取已安装的插件
|
# 从数据库读取已安装的插件
|
||||||
if not get_config("safe_mode", False):
|
if not get_config("safe_mode", False):
|
||||||
# 安全模式下,不加载插件
|
# 安全模式下,不加载插件
|
||||||
|
|
||||||
installed_plugins: list[InstalledPlugin] = plugin_db.where_all(InstalledPlugin())
|
installed_plugins: list[InstalledPlugin] = plugin_db.where_all(InstalledPlugin())
|
||||||
if installed_plugins:
|
if installed_plugins:
|
||||||
for installed_plugin in installed_plugins:
|
for installed_plugin in installed_plugins:
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
from nonebot.plugin import PluginMetadata
|
from nonebot.plugin import PluginMetadata
|
||||||
|
from nonebot import get_driver
|
||||||
|
|
||||||
__plugin_meta__ = PluginMetadata(
|
__plugin_meta__ = PluginMetadata(
|
||||||
name="Minecraft工具箱",
|
name="Minecraft工具箱",
|
||||||
|
Loading…
Reference in New Issue
Block a user