nonebot-plugin-afd
基于NoneBot的自动审核爱发电订单号进群的插件
安装
-
适配器
-
NoneBot2 插件商店安装
nb plugin install nonebot-plugin-afd
启动
NoneBot2项目:nb run
配置
# 插件配置
afd_token_dict = '{
"群号": ["作者1user_id", "作者2user_id"]
}'
# 适配器配置
afdian_bots='[
{
"user_id": "爱发电开发者页面user_id",
"token": "爱发电开发者页面token"
}
]'
使用
- 给Bot管理员身份
- 设置加群验证方式为:
需要回答问题并由管理员审核 - 用户加群,仅需填写
订单号即可(不要填入其他任何字符) - 有新的订单时,
Bot会自动推送至对应群聊
特别感谢
- NoneBot2:开发框架。
贡献与支持
觉得好用可以给这个项目点个 Star 或者去 爱发电 投喂我。
有意见或者建议也欢迎提交 Issues 和 Pull requests 。
开源许可
本项目使用 MIT 作为开源许可证。
Metadata
Release files for nonebot-plugin-afd 0.1.1
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 | |
|---|---|---|---|---|
| nonebot_plugin_afd-0.1.1.tar.gz | 7.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nonebot_plugin_afd-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.5 kB
Release files / nonebot_plugin_afd-0.1.1.tar.gz
| Download URL | nonebot_plugin_afd-0.1.1.tar.gz |
|---|---|
| Size | 7.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
17c7748a2e5ac7f6735da5cfa923960909d669040f8e4b1e8a86e9c8fd8f909f
|
|
BLAKE2b-256 checksum How to use checksums |
0b83cfa424254c66f6562ed2709addadc1a059f8ef71b11d49c316b3d4a920ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Release files / nonebot_plugin_afd-0.1.1-py3-none-any.whl
| Download URL | nonebot_plugin_afd-0.1.1-py3-none-any.whl |
|---|---|
| Size | 7.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a54512e88fcf89b8f252646f3dea7679b4b854dce6834964516c5aa477441f1a
|
|
BLAKE2b-256 checksum How to use checksums |
e4a46187ea753d0bfb0af98346cf0c87ad2b646107f5a60012fb2776c79ce167
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.8.22
|
Security for nonebot-plugin-afd 0.1.1
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.