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.1.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a8a2d9205c49d3ca888e859ce8eac6c73883dac283f746fb455fa96dbbc134a8
MD5 476b1f00d57167db71cb1f1ac75ea0a0
BLAKE2b-256 67cfbf99d8638850c12660736df0ebd180e170370cb04d939769f9daf5a4fb82

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7e144603d2c6babc7b4fae46ebe588fac8a84582c93c8f93b79db9d87883140c
MD5 c26f4e3f1372ed8b83ac7f1fc8f91b51
BLAKE2b-256 ec27fa39b6aeca557ea94a5d70c25673c22d26cdf9638e8b9be5b53f4794ca90

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