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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file nonebot_plugin_update-0.1.3.tar.gz.

File metadata

  • Download URL: nonebot_plugin_update-0.1.3.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.8.0a2 CPython/3.10.6

File hashes

Hashes for nonebot_plugin_update-0.1.3.tar.gz
Algorithm Hash digest
SHA256 17788a281f7fc0641b74352d4a450a60a12ff21e27fb0237d3989aaa6511db46
MD5 dee8572184310a4fce389727efc485c0
BLAKE2b-256 9a2b98bbfcdc8b8722c2cb8064c13efd7fef5bf79c4dd4ed87c88159f9ba7e61

See more details on using hashes here.

File details

Details for the file nonebot_plugin_update-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_update-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 2a2264dfc1b0ba21d667c7a195981b812d5b803629ff434fbfa9b6eac3715eb7
MD5 bbd651b5cdade5f18b8dc9dadb0c7d98
BLAKE2b-256 d2fda2bc463ef6822be64c5b1a249c5b028b9371a88fc38e9f8c575a1a14a8b1

See more details on using hashes here.

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