Metadata-Version: 2.1
Name: nonebot-plugin-sunsetbot
Version: 0.1.3
Summary: SunsetBot朝霞晚霞查询
Home-page: https://github.com/MichiyamaKaren/nonebot-plugin-sunsetbot
Author: MichiyamaKaren
Author-email: mustarfar@163.com
Requires-Python: >=3.12,<4.0
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Requires-Dist: aiohttp (>=3.11.11,<4.0.0)
Requires-Dist: aiosqlite (>=0.20.0,<0.21.0)
Requires-Dist: nonebot-adapter-console (>=0.6.0,<0.7.0)
Requires-Dist: nonebot-adapter-onebot (>=2.4.6,<3.0.0)
Requires-Dist: nonebot-plugin-apscheduler (>=0.5.0,<0.6.0)
Requires-Dist: nonebot-plugin-localstore (>=0.7.3,<0.8.0)
Requires-Dist: nonebot2[fastapi] (>=2.4.1,<3.0.0)
Description-Content-Type: text/markdown

# nonebot-plugin-sunsetbot

## 功能

查询[Sunsetbot网站](https://sunsetbot.top/)并订阅特定地区通知。

命令：
- 特定时间预报：[今天/明天][朝霞/晚霞] [地区名]
  - 地名精确到市或区，需精确匹配。如：今天朝霞 上海；今天朝霞 上海-徐汇区
- 未来一天预报：火烧云 [地区名]
- 查询地区名：火烧云地区 [部分地区名]
- 每日定时提醒某地区火烧云状态：火烧云订阅 [地区名]
  - 查看订阅列表：火烧云订阅 查看
  - 取消订阅：火烧云订阅 [取消/删除] [地区名]

## 安装

```
pip install nonebot-plugin-sunsetbot
```

## 配置

定时提醒配置：
- `SUNSETBOT__SCHEDULE_TRIGGER`：`APScheduler`的`trigger`，默认为`"cron"`
- `SUNSETBOT__SCHEDULE_KWARGS`：设置具体的提醒方式。默认为`{"hour":"14,21"}`，即在每天的14:00、21:00提醒
- `SUNSETBOT__SCHEDULE_MESSAGE`：订阅提醒时向用户发送的信息，与上一项配置对应。默认为`""每日14:00和21:00`
