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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.3.tar.gz
Algorithm Hash digest
SHA256 1697fc9abd2af1bf33906ae648546a00363eb168c99bfc2f3f39240581cf8a26
MD5 40114ef8b2b72ea8cfc8e57cb7b88a08
BLAKE2b-256 27d9fb314d545f95e414cec01f814214f5dd461f19d780c1f0b64df363435a9c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ad0949ab2f5fcc914e60b7840a9777359930de17f11cb1a99beac98e863ce0f9
MD5 51f096356e22ec987aca919f64c99778
BLAKE2b-256 79d0363aec2317e4545cc4e8ba18847e4dc2b71e0f87f8a4bad9b4b2ebd5e2fd

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