Skip to main content

用于检测 Nonebot 插件更新的 Nonebot 插件

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-update

✨ 用于检测 Nonebot 插件更新的 Nonebot 插件 ✨

license pypi python

📖 介绍

欢迎使用 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 主人 均可 手动检查更新,将使预览版始终启用

效果图

1dd8be883b53d8106c3d6a79184a0c46 36e0e353c459fe32aa68c8c6c8447961

Project details


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_update-0.1.3.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_update-0.1.3-py3-none-any.whl (6.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page