Skip to content
Qingci-BotPublic

About

插件市场最小化示例插件

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

Hello 示例插件(独立仓库)

Hello World 示例插件,演示 Qingci-Bot 插件 SDK 能力。仓库根目录即插件源码,可作为新插件仓库的模板参考。

安装

方式一:通过插件市场安装

本插件已登记在 Qingci-Bot 插件市场(source 指向本仓库)。Qingci-Bot WebUI「插件管理 → 插件市场」搜索 hello 一键安装。

方式二:手动安装

git clone https://github.com/Qingci-Bot/hello.git
# 将仓库内容放入 Qingci-Bot 实例的 plugins/hello/ 目录,重启机器人

安装后 Qingci-Bot 会自动读取 requirements.txt 安装依赖(qingci-plugin-sdk>=1.0)。

演示能力

命令 说明
/hello(别名 /hi、/你好) 打个招呼
/greet zh / /greet en 子指令示例
/weather <城市> <天数> 类型化参数示例

另演示:i18n 国际化、全局生命周期钩子(on_startup/on_shutdown/on_bot_connect/on_metaevent)、@llm_tool LLM 工具声明(get_time / echo)、插件数据目录 self.data_dir。

开发

插件模板见 Plugins-SDK 仓库 plugins/_template/;SDK API 文档见 README。

许可

GPL-3.0-or-later。

本仓库为 Qingci-Bot 组织下从零开发的项目,版权归 Qingci-Bot Organization 所有;源码文件带 Copyright (C) 2026 Qingci-Bot Organization 与 SPDX-License-Identifier: GPL-3.0-or-later 声明。

主项目 Qingci-Bot-CE 与 Plugins-SDK 为个人原创后转入组织维护,版权归原作者个人所有,与本仓库的归属不同。

About

插件市场最小化示例插件

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages