📖 介绍
本插件用于自动提醒日出日落火烧云信息,支持添加、移除提醒,查询最近的火烧云图片。
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-sunset-reminder --upgrade
使用 pypi 源安装
nb plugin install nonebot-plugin-sunset-reminder --upgrade -i "https://pypi.org/simple"
使用清华源安装
nb plugin install nonebot-plugin-sunset-reminder --upgrade -i "https://pypi.tuna.tsinghua.edu.cn/simple"
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令uv
uv add nonebot-plugin-sunset-reminder
安装仓库 master 分支
uv add git+https://github.com/HTony03/nonebot-plugin-sunset-reminder@master
pdm
pdm add nonebot-plugin-sunset-reminder
安装仓库 master 分支
pdm add git+https://github.com/HTony03/nonebot-plugin-sunset-reminder@master
poetry
poetry add nonebot-plugin-sunset-reminder
安装仓库 master 分支
poetry add git+https://github.com/HTony03/nonebot-plugin-sunset-reminder@master
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_sunset_reminder"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
暂无
🎉 使用
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| /add 或 添加火烧云提醒 | 群管理员/私聊 | 否 | 群聊/私聊 | 添加火烧云自动提醒 |
| /remove 或 移除火烧云提醒 | 群管理员/私聊 | 否 | 群聊/私聊 | 移除火烧云自动提醒 |
| /latest_sunset_remind 或 最近日落火烧云提醒 | 群员/私聊 | 否 | 群聊/私聊 | 获取最近一次日落火烧云图片 |
| /latest_sunrise_remind 或 最近日出火烧云提醒 | 群员/私聊 | 否 | 群聊/私聊 | 获取最近一次日出火烧云图片 |
| /search 或 火烧云查询 | 群员/私聊 | 否 | 群聊/私聊 | 查询指定城市火烧云信息 |
search指令详细介绍
| 参数 | 说明 | 接受的值 | 示例 |
|---|---|---|---|
| -c, --city | 城市名称 | str | 北京 |
| -d, --day | 查询的时间,默认为今天 | 'today', 'tomorrow', '今天', '昨天' | today |
| -t, --type | 查询类型,默认为日出 | 'sunrise', 'sunset', '日出', '日落' | sunrise |
| -h, --help | 帮助信息 | 无 | 无 |
Metadata
Release files for nonebot-plugin-sunset-reminder 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nonebot_plugin_sunset_reminder-0.1.0.tar.gz | 10.0 kB | With provenance | Details for nonebot_plugin_sunset_reminder-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nonebot_plugin_sunset_reminder-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for nonebot_plugin_sunset_reminder-0.1.0-py3-none-any.whl |
Total release size: 19.6 kB
Release files / nonebot_plugin_sunset_reminder-0.1.0.tar.gz
| Download URL | nonebot_plugin_sunset_reminder-0.1.0.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0ebe4de620feeee0e5e3605a302f3f2497e8a907a0129e9ce6e794bcb49972bc
|
|
BLAKE2b-256 checksum How to use checksums |
db07cd207020ee1d98f934219c42e8294357b62c6609ebc9be937c19dbf2f2e7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2025.
Transparency logRelease files / nonebot_plugin_sunset_reminder-0.1.0-py3-none-any.whl
| Download URL | nonebot_plugin_sunset_reminder-0.1.0-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e02246f7a5b1e696b007a3362607ef1b215305dd7a26062d1935c38e50571a76
|
|
BLAKE2b-256 checksum How to use checksums |
a8defb0e9febc5d46a84e69dfcb2cd890954f4837c3831be50cf1c1421ddebd6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2025.
Transparency logSecurity for nonebot-plugin-sunset-reminder 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for nonebot_plugin_sunset_reminder-0.1.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jun 16, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.