Skip to main content

nonebot-plugin-alchelper

基于 nonebot-plugin-alconna, 适用于 Nonebot2 的命令帮助插件。

安装

  • 使用 nb-cli
nb plugin install nonebot-plugin-alchelper
  • 使用 pip
pip install nonebot-plugin-alchelper

注意事项

本插件使用了 nonebot-plugin-orm, 这需要你自行配置数据库相关配置

例如,在使用 sqlite 作为数据库驱动的情况下,你需要

  1. 运行 pip install nonebot-plugin-alchelper[aiosqlite]
  2. 在.env配置文件中设置 SQLALCHEMY_DATABASE_URL=sqlite+aiosqlite:///path-to-your-database
  3. 通过 nb-cli 运行 nb orm upgrade,然后通过 nb orm check 检查是否存在问题

更多内容参阅 orm文档.

配置项

以下配置项可在 .env.* 文件中设置,具体参考 NoneBot 配置方式

alchelper_command_start

  • 类型:Optional[Set[str]]
  • 默认:None
  • 说明:插件使用的命令前缀,如果不填则使用全局命令前缀 (COMMAND_START)

alchelper_help

  • 类型:str
  • 默认:"help"
  • 说明:插件使用的帮助命令名称

alchelper_help_index

  • 类型:bool
  • 默认:False
  • 说明:插件使用的帮助命令是否显示索引

alchelper_help_max

  • 类型:int
  • 默认:-1
  • 说明:插件使用的帮助命令最大显示数量,-1 为不限制

alchelper_statis

  • 类型:str
  • 默认:"statis"
  • 说明:插件使用的统计命令名称

alchelper_statis_msgcount_default

  • 类型:int
  • 默认:10
  • 说明:插件使用的统计命令默认显示消息数量

使用

/help /statis [count = 10] /第3页帮助 /命令统计 /用户统计 @xxx

Metadata

Release files for nonebot-plugin-alchelper 0.6.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-alchelper 0.6.0
File Size Uploaded Provenance
nonebot_plugin_alchelper-0.6.0.tar.gz 6.6 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-alchelper 0.6.0
File Interpreter ABI Platform
nonebot_plugin_alchelper-0.6.0-py3-none-any.whl Python 3 none any Details

Total release size: 15.1 kB

Release files / nonebot_plugin_alchelper-0.6.0.tar.gz

Download URL nonebot_plugin_alchelper-0.6.0.tar.gz
Size 6.6 kB
Tags Source
SHA-256 checksum
How to use checksums
03f30b5e2631a7d30c834f9ec56d871996ccd26ac755a9523620d9c86af6ed4e
BLAKE2b-256 checksum
How to use checksums
8dce37bdafedfdab0414720d699917f729ca2ec2f8735828a34a0743bca1366e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.19.1 CPython/3.9.13 Windows/10

Release files / nonebot_plugin_alchelper-0.6.0-py3-none-any.whl

Download URL nonebot_plugin_alchelper-0.6.0-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7560d90bd46cf452a99a058e71ebb95795536b7e4140c43118edefaa0ea26b73
BLAKE2b-256 checksum
How to use checksums
9a1ce5681942dafd86523b44a21adf725bc50278f91dfe87a169254d624c11b2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via pdm/2.19.1 CPython/3.9.13 Windows/10

Security for nonebot-plugin-alchelper 0.6.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page