Project description
📖 介绍
欢迎使用 Nonebot 插件管家,本次启动用时 0.0001 秒,你有 1 个插件可以更新。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-update
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-update
pdm
pdm add nonebot-plugin-update
poetry
poetry add nonebot-plugin-update
conda
conda install nonebot-plugin-update
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_update"]
⚙️ 配置
在 nonebot2 项目的 .env
文件中添加下表中的必填配置
配置项 |
必填 |
默认值 |
说明 |
npu_auto_check |
否 |
True |
是否启用自动更新 |
npu_check_prerelease |
否 |
False |
是否检测预览版更新 |
🎉 使用
指令表
指令 |
权限 |
需要@ |
范围 |
说明 |
/npu check |
主人 |
否 |
均可 |
手动检查更新,将使预览版始终启用 |
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nonebot_plugin_update-0.1.4.tar.gz
.
File metadata
File hashes
Hashes for nonebot_plugin_update-0.1.4.tar.gz
Algorithm |
Hash digest |
|
SHA256 |
66fb3e16b31888c7e82e6e39a577ab4df52d9607d0010b0e1adfdf6fa11073d1 |
|
MD5 |
89ea3cea6139356aed77bb8d0c4f9ace |
|
BLAKE2b-256 |
486c6c2ade68e388abaf42a4289936f81ca7e6979a6cacdcb21afe67f51b43aa |
|
See more details on using hashes here.
File details
Details for the file nonebot_plugin_update-0.1.4-py3-none-any.whl
.
File metadata
File hashes
Hashes for nonebot_plugin_update-0.1.4-py3-none-any.whl
Algorithm |
Hash digest |
|
SHA256 |
a066178be5818ec5cbb57011dab770b6eb0179b806078ed45a4c8700e46e876a |
|
MD5 |
c295a10ef993c1c4ac848e3b9cce834b |
|
BLAKE2b-256 |
be895d9ce5b5d142d878bbde4b82a991a56ac1c13b453bd7a0bf8e113f0c15fc |
|
See more details on using hashes here.