Skip to main content

Let bot look!!!

Project description

NoneBotPluginLogo

NoneBotPluginText

NoneBot-Plugin-AreUSleepy

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

python pdm-managed wakatime
Pydantic Version 1 Or 2 license pypi pypi download
NoneBot Registry Supported Adapters

📖 介绍

此插件可以发送在 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群组:点此加入
吹水群: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.1.tar.gz (5.2 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.1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_areusleepy-0.0.1.tar.gz
  • Upload date:
  • Size: 5.2 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.1.tar.gz
Algorithm Hash digest
SHA256 43749f16147c171348511ff99f8469ca9729ab32bbbf0820b067e094f7e8eb47
MD5 dfcce33b169f47a424ef3f932814ec51
BLAKE2b-256 addc84e946b18181e4e6911b1cbf313fc9ac91c938d17f768d00798f5d844918

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_areusleepy-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 46a79b44d1722c9e018d4e1db66366fe4cd7f9f292cfa938a7defb4040594c47
MD5 f3757e8b7cdc0328c45a367b0824b0d6
BLAKE2b-256 95a6208a67f23e096d562bf53ea3f3039ae109e43abb8a4d24003bd8bbfba905

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