nonebot-plugin-autohelp
Show a summary of commands, aliases and usages for plugins loaded
Dependent adapter
onebotv11
Install it
pip install nonebot-plugin-autohelp
# or poetry add nonebot-plugin-autohelp
# pip install git+htts://github.com/ffreemt/nonebot-plugin-autohelp
# poetry add git+htts://github.com/ffreemt/nonebot-plugin-autohelp
# To upgrade
pip install nonebot-plugin-autohelp -U
# or poetry add nonebot-plugin-autohelp@latest
Use it
# bot.py
import nonebot
from nonebot.adapters.onebot.v11 import Adapter
...
nonebot.init()
driver = nonebot.get_driver()
driver.register_adapter(Adapter)
nonebot.load_from_toml("pyproject.toml")
nonebot.load_builtin_plugin("echo")
nonebot.load_plugin("nonebot_plugin_guess")
nonebot.load_plugin("nonebot_plugin_autohelp")
# plugin loaded after autohelp will not be taken care of by autohelp
nonebot.load_plugin("nonebot_plugin_fancy")
Sample session in a qq group
mu (μ)(41947782) 11:23:34 AM
help
mubot(2129462094) 11:23:36 AM
nickname:
command_start: /
command_sep: .
command: say
command: mecho
aliases: ping, ryt, 在不, p
command: news
aliases: xinwen, 新闻, 无聊
command: debug test: %s
aliases: 爬, fetch, crawl
command: guess
aliases: cai, 猜猜看, 猜
(help -d will display detailed docs for all plugins loaded before nonebot_plugin_autohelp)
mu (μ)(41947782) 11:53:25 AM
help -h
mubot(2129462094) 11:53:27 AM
usage: help [-h] [-d] [params [params ...]]
positional arguments:
params list of parameters of type str (default: None)
optional arguments:
-h, --help show this help message and exit
-d, --details show __doc__ for each plugin (default: False)
---
mu (μ)(41947782) 11:23:34 AM
help --details # or help details
...(attach __doc___ for each plugin, ommitted)
Metadata
Release files for nonebot-plugin-autohelp 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot-plugin-autohelp-0.1.7.tar.gz | 7.0 kB | Without provenance | Details for nonebot-plugin-autohelp-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_autohelp-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_autohelp-0.1.7-py3-none-any.whl |
Total release size: 16.1 kB
Release files / nonebot-plugin-autohelp-0.1.7.tar.gz
| Download URL | nonebot-plugin-autohelp-0.1.7.tar.gz |
|---|---|
| Size | 7.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f057c572899d7c119899a565199780ab50ef40db2e7d734e8e33bea6c7fcbc38
|
|
BLAKE2b-256 checksum How to use checksums |
ae1266e7e311086cb7dcb09d771765a60db4fae4007a37cc0db22b9c7515a24f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.10 Windows/10
|
Release files / nonebot_plugin_autohelp-0.1.7-py3-none-any.whl
| Download URL | nonebot_plugin_autohelp-0.1.7-py3-none-any.whl |
|---|---|
| Size | 9.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
70faef1a7f05a42a448e4d886a4b4a58611d86260df7d6f6e2e2b9deb0e49472
|
|
BLAKE2b-256 checksum How to use checksums |
fcc0f6e010f1d0ae8bf2e8fe067ea031b0debb3f764f5480022903f5e5179471
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.1 CPython/3.8.10 Windows/10
|
Security for nonebot-plugin-autohelp 0.1.7
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.