No project description provided
Project description
📖 介绍
小真寻具象化了。
内置 ZXPM插件管理(帮助看这个readme)
[!NOTE]
小真寻也很可爱呀,也会很喜欢你!![]()
![]()
![]()
💿 安装
pip install nonebot-plugin-zxui
nb plugin install nonebot-plugin-zxui
⚙️ 配置
ZXUI
| 配置 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| zxui_data_path | str | data/zxui | 数据存储路径 |
| zxui_db_url | str | 数据库地址 URL,默认为 sqlite,存储路径在zxpm_data_path |
|
| zxui_username | str | 必填项,登录用户名 | |
| zxui_password | str | 必填项,登录密码 | |
| zxui_enable_chat_history | bool | 开启消息存储 | 存储消息记录 |
| zxui_enable_call_history | bool | 开启调用记录存储 | 存储功能调用记录 |
ZXPM
| 配置 | 类型 | 默认值 | 说明 |
|---|---|---|---|
| zxpm_data_path | str | data/zxui/zxpm | 数据存储路径 |
| zxpm_notice_info_cd | int | 300 | 群/用户权限检测等各种检测提示信息 cd,为 0 时或永久 ban 时不提醒 |
| zxpm_ban_reply | str | 才不会给你发消息. | 用户被 ban 时回复消息,为空时不回复 |
| zxpm_ban_level | int | 5 | 使用 ban 功能的对应权限 |
| zxpm_switch_level | int | 1 | 使用开关功能的对应权限 |
| zxpm_admin_default_auth | int | 5 | 群组管理员默认权限 |
| zxpm_limit_superuser | bool | False | 是否限制超级用户 |
🎉 帮助
菜单
菜单文件存储在data/zxui/menu.json,可以根据自身需求修改,格式如下:
[
{
"module": "dashboard",
"name": "仪表盘",
"router": "\/dashboard",
"icon": "dashboard",
"default": true
},
]
更新UI
删除data/zxui/web_ui文件夹,重新运行插件即可。
🎁 后台示例图
❤ 感谢
- 可爱的小真寻 Bot
zhenxun_bot: 我谢我自己,桀桀桀
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nonebot_plugin_zxui-0.1.5.tar.gz
(75.6 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_zxui-0.1.5.tar.gz.
File metadata
- Download URL: nonebot_plugin_zxui-0.1.5.tar.gz
- Upload date:
- Size: 75.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34aadad7882107880ce10cca6c5e9e3fea329d55e997544419066677a0b6930f
|
|
| MD5 |
1b25a5cb4da3e2a8e4c1bb32277fdbb3
|
|
| BLAKE2b-256 |
5feace0d1e4b35f6fdfb91cf3eac6b7e6dcb2fbb72317f493ff24fc29c085983
|
File details
Details for the file nonebot_plugin_zxui-0.1.5-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_zxui-0.1.5-py3-none-any.whl
- Upload date:
- Size: 113.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.3 CPython/3.11.9 Windows/10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f159d66e4dfd7d31da91bea8d6a8565512147b9030694a1e743ecbf61d3a5ab1
|
|
| MD5 |
f715c073f0bbefae80fa0e9cf89f39c5
|
|
| BLAKE2b-256 |
8f56ee97a251d0a168c96a956fb9429b4f8c704d05a811eab4b30b32e9be0a32
|