以nonebot-plugin-alconna为基础提供系列帮助功能的插件
Project description
nonebot-plugin-alchelper
基于 nonebot-plugin-alconna, 适用于 Nonebot2 的命令帮助插件。
安装
- 使用 nb-cli
nb plugin install nonebot-plugin-alchelper
- 使用 pip
pip install nonebot-plugin-alchelper
配置项
以下配置项可在
.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页帮助 /命令统计
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
Built Distribution
Close
Hashes for nonebot_plugin_alchelper-0.4.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | acc7f53e086061ec218295c2a2c4dbafdeb0b09b932c30c598213c1db2bd3764 |
|
MD5 | 626815d482f0020b051c1eda1b4c2220 |
|
BLAKE2b-256 | 9e14f729f00d6a2a1d107e4e3529c663516154231942ed537bd94af4943d0359 |
Close
Hashes for nonebot_plugin_alchelper-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4500ac9d3933234907ac4993adf97d50975b53a4d5bed5c4c492887d1a004eeb |
|
MD5 | 921a2d16ba58dd50355d7e6ae5e85084 |
|
BLAKE2b-256 | 69f12a9c7340ee494157e24a81dd3adfe68134c25ca0137bf9848822dd8dfd5e |