Skip to main content

基于 nonebot2和Lagrange.OneBot 的运行状态插件

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-running-state

✨ 一个获取服务器状态的插件 ✨

GitHub Tag GitHub Actions Workflow Status GitHub last commit PyPI - Version Static Badge

Static Badge Static Badge

📖 介绍

状态插件,用于获取机器人和服务器的当前状态。

[!WARNING] 这个插件只在Lagrange协议端上测试过,其他协议端可能会出现KeyError错误?

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-running-state
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-running-state
pdm
pdm add nonebot-plugin-running-state
poetry
poetry add nonebot-plugin-running-state
conda
conda install nonebot-plugin-running-state

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_running_state"]

🎉 使用

指令表

指令 权限 需要@ 范围 说明
状态 所有人都可以用 群聊和私聊都可以 记得加前缀哦

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_running_state-0.0.6.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot_plugin_running_state-0.0.6.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.6.tar.gz
Algorithm Hash digest
SHA256 c0ba06f381eaff325be4b597c44fdbd5e568dd3fd76fec30d8c4332be707f8a0
MD5 3f7d202e5318fd3a69916461bf0da9c6
BLAKE2b-256 aa4823bb10a8070aa2c5a4b85238ae2a2ffb6a514877b9ec08c332b3e4fb95a9

See more details on using hashes here.

File details

Details for the file nonebot_plugin_running_state-0.0.6-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 80eccf9b19ce36712aa1a828f23eb0228d3bef4ba078eadbae0cda02feb98a1f
MD5 38eeaf527db9801c450f9e6b189ed702
BLAKE2b-256 e7dc29897fd048edbf87b0e818e526072c0a4e6eaa9593ed964da48a673b52b6

See more details on using hashes here.

Supported by

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