Skip to main content

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

Project description

NoneBotPluginLogo

NoneBotPluginText

## 📖 介绍

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

[!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.5.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.5.tar.gz
Algorithm Hash digest
SHA256 d383af9386bfb8dbed092bef4bde997876170f935742081bd6d75c02f0f7e0d8
MD5 41b0578f652f6cd2cee69f43e692d19c
BLAKE2b-256 ea9509f2d5c7af664b3bbd7d5f7ebc6004f2f6f7870fa13f9fde82fd82e7d91e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 7b063b8bc14ef23d89a30591ff24618b7e230db90d4da3f532e7460296dd8762
MD5 4df91dc2d51878957123564798d7f7f8
BLAKE2b-256 2d2c7c9a320f91c2977263895e2db1d73399a80851a2374a3ce3db65500aef65

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