Skip to main content

Let bot look!!!

Project description

NoneBotPluginLogo

NoneBotPluginText

NoneBot-Plugin-AreUSleepy

✨基于 sleepy-project/sleepy 项目的状态查询插件! ✨

python3 License

📖 介绍

此插件可以发送在 sleepy-project/sleepy 目前的状态信息,可以显示用户的设备是否在使用中,正在听的歌曲(支持情况以 sleepy 项目为准),支持多设备状态列表

💿 安装

以下提到的方法 任选其一 即可

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

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

[tool.nonebot]
plugins = [
    # ...
    "nonebot_plugin_areusleepy"
]

⚙️ 配置

sleepyurl - /getsleepy 使用的默认地址

默认: "http://127.0.0.1:9010"

必须要有http://或https://

🎉 使用

指令表

areusleepy - 查询默认配置的状态信息

查询配置文件内的网站信息并输出

getsleepy url - 查询其他站点的状态信息

url 可填写为任意地址,但需要注意http://或https://

效果图

兄弟你睡了吗喵!!!!!!

📞 联系

TG群组:点此加入
QQ群:1049319982
邮箱:congyu@sbhfy.cn

💡 鸣谢

sleepy-project/sleepy: Are you sleeping? - 提供灵感,感谢开发者 wyf9 的耐心指导

📝 更新日志

芝士刚刚发布的插件,还没有更新日志的说 qwq~

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_areusleepy-0.0.2.tar.gz (4.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_areusleepy-0.0.2-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_areusleepy-0.0.2.tar.gz.

File metadata

  • Download URL: nonebot_plugin_areusleepy-0.0.2.tar.gz
  • Upload date:
  • Size: 4.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.24.2 CPython/3.13.3 Windows/11

File hashes

Hashes for nonebot_plugin_areusleepy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 0904e1084cdc3ffcef7bc8c4924a95f8a64b1199cb220e95259ff104abdeeb1b
MD5 47fa0d8a0cedbc441cc715105ce11803
BLAKE2b-256 3665f1c8205343f4955856b0688ea0f342c9c33f6568873507c34c28042dabcd

See more details on using hashes here.

File details

Details for the file nonebot_plugin_areusleepy-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_areusleepy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 b4cc9307a09b305f27b115102791a4627c50dafe2e05d81a73eda6bb0b42ddaf
MD5 68a28e7786b0624f0c43af5023188f7e
BLAKE2b-256 ea5648e0ea992777b42d955981bfe885be1b342bb29693468ddcc6dc9f05280c

See more details on using hashes here.

Supported by

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