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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.4.tar.gz
Algorithm Hash digest
SHA256 60f92792b47277ebf7807320400c265f1f28f70f892ce2db3b40fdc3b59efb01
MD5 90a5f6460de38fb53b0d476b5506430f
BLAKE2b-256 3140c7e2b00d42b44a51ab3eca87eef791adf42c5c2c2e81c1b57d2e33131fbc

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_running_state-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 7922aa183ffb2294dbb7092c312f7cf2f244935a18917ca7377b935359cdb841
MD5 9339148ae8fe0191e10d041d6f67ff1a
BLAKE2b-256 098e93adc6adec2270aa5da933830a9d1cedfd18f44f6bbfdbe14f287997fe23

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