📖 介绍
欢迎使用 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 | 主人 | 否 | 均可 | 手动检查更新,将使预览版始终启用 |
Metadata
Release files for nonebot-plugin-update 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nonebot_plugin_update-0.1.4.tar.gz | 4.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_update-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 10.8 kB
Release files / nonebot_plugin_update-0.1.4.tar.gz
| Download URL | nonebot_plugin_update-0.1.4.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
66fb3e16b31888c7e82e6e39a577ab4df52d9607d0010b0e1adfdf6fa11073d1
|
|
BLAKE2b-256 checksum How to use checksums |
486c6c2ade68e388abaf42a4289936f81ca7e6979a6cacdcb21afe67f51b43aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|
Release files / nonebot_plugin_update-0.1.4-py3-none-any.whl
| Download URL | nonebot_plugin_update-0.1.4-py3-none-any.whl |
|---|---|
| Size | 6.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a066178be5818ec5cbb57011dab770b6eb0179b806078ed45a4c8700e46e876a
|
|
BLAKE2b-256 checksum How to use checksums |
be895d9ce5b5d142d878bbde4b82a991a56ac1c13b453bd7a0bf8e113f0c15fc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.5.13
|