Skip to main content

nonebot哪吒监控插件,使用哪吒监控API。

Project description

nonebot

NoneBot Plugin NeZha

哪吒监控插件

License Python NoneBot

安装方式

依赖管理

  • pip install nonebot-plugin-nezha
  • poetry add nonebot-plugin-nezha
  • pdm add nonebot-plugin-nezha

bot.py 中添加 nonebot.load_plugin("nonebot_plugin_nezha")

nb-cli

  • nb plugin install nonebot-plugin-nezha

使用方式

  • 哪吒帮助 [index: int]
  • vps列表 [tag: str]
  • vps [arg: int|str]

配置项

必要配置项

  • nezha_api: 哪吒监控 api地址
  • nezha_token: 哪吒监控 token

非必要配置项

详见 config.py Config

推荐配置项

nezha_api=""
nezha_token=""
# 默认的分组
nezha_arg_default="国内"
# 在线/离线 的文本
nezha_template_online_offline=["🟢","🔴"]

依赖项

python = "^3.9"
nonebot2 = { version = ">=2.3.0", extras = ["httpx"] }
nonebot-plugin-alconna = ">=0.52.2"
jsonpath = "^0.82.2"

相关

效果

  • 哪吒帮助
  • vps
  • vps列表

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

nonebot_plugin_nezha-0.5.1.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_nezha-0.5.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_nezha-0.5.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_nezha-0.5.1.tar.gz
  • Upload date:
  • Size: 6.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for nonebot_plugin_nezha-0.5.1.tar.gz
Algorithm Hash digest
SHA256 b023baf38e77d930c21ca3f7fd507aa254ba7429292feb830d80473760d2ad7f
MD5 30d77214385505d9b1f1b3912f7dcb1c
BLAKE2b-256 8d1d8bf6b0e85ef63b56224b4285bfeed642551f62ed6441904c2ec319756047

See more details on using hashes here.

File details

Details for the file nonebot_plugin_nezha-0.5.1-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_nezha-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 9.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.3 CPython/3.10.12 Linux/6.5.0-1025-azure

File hashes

Hashes for nonebot_plugin_nezha-0.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 20f877c742ec6b4264c252028549984f04f9c8b2f7a7727a9471a9ef4a0be3e4
MD5 3f1b6ab1c4c2344209068e848efdbcb0
BLAKE2b-256 7cbdb5e6a5776b61c86b9bdfbe9c83e020bbf5d84ab23c70122c57804a589e2b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page