nonebot-plugin-error-alert
当Bot发生运行错误时发送消息提醒
(插件基于logger实现,其他插件在Matcher运行过程抛出异常,或是记录ERROR级别的日志,都将视作Bot运行错误)
卖家秀
指令
/error_alert subscribe
订阅错误告警。发生错误时立即发送消息提醒至本账号。
/error_alert subscribe --cron "<cron>"
订阅错误告警。但不会在发生错误时立即发送消息提醒,而是在满足cron表达式的时间点统一发送该时间段发生的错误告警。
示例:/error_alert subscribe --cron "0 0 * * * ?",每小时0分0秒时统一发送消息提醒
/error_alert unsubscribe
取消订阅错误告警。
/error_alert show
查看本账号订阅的错误告警。
配置项
error_alert_superuser_only
是否仅允许超级用户调用指令。
默认值:True
error_alert_plugins_blacklist
当错误涉及指定插件时不进行报错,设为None时不启用
默认值:None
error_alert_plugins_whitelist
仅当错误涉及指定插件时不进行报错,设为None时不启用
默认值:None
LICENSE
MIT License
Metadata
Release files for nonebot-plugin-error-alert 0.2.0
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_error_alert-0.2.0.tar.gz | 6.1 kB | Without provenance | Details for nonebot_plugin_error_alert-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_error_alert-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_error_alert-0.2.0-py3-none-any.whl |
Total release size: 14.1 kB
Release files / nonebot_plugin_error_alert-0.2.0.tar.gz
| Download URL | nonebot_plugin_error_alert-0.2.0.tar.gz |
|---|---|
| Size | 6.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8145052a846a74ce65545ae5e6ede9276e808ebc09b72f8134467fec81a6f4a1
|
|
BLAKE2b-256 checksum How to use checksums |
f3a4faa6106959bf0baf0ae7d329d3665e3a9c11d9e15297e4b46349ff7d0dcb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.2 Windows/10
|
Release files / nonebot_plugin_error_alert-0.2.0-py3-none-any.whl
| Download URL | nonebot_plugin_error_alert-0.2.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d8a44278cb5877740cdbc94c78f7544d1b61cee4bb668b2ccbb206aff9ef79d1
|
|
BLAKE2b-256 checksum How to use checksums |
0946b1555655e6e04093856939ed75bb7aa63f63c9fa265cc681b77e124721b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.1 CPython/3.10.2 Windows/10
|
Security for nonebot-plugin-error-alert 0.2.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.