Skip to main content

SunsetBot朝霞晚霞查询

Project description

nonebot-plugin-sunsetbot

功能

查询Sunsetbot网站并订阅特定地区通知。

命令:

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

安装

pip install nonebot-plugin-sunsetbot

配置

定时提醒配置:

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

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_sunsetbot-0.1.1.tar.gz (5.6 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_sunsetbot-0.1.1-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_sunsetbot-0.1.1.tar.gz.

File metadata

  • Download URL: nonebot_plugin_sunsetbot-0.1.1.tar.gz
  • Upload date:
  • Size: 5.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.5 CPython/3.12.7 Windows/11

File hashes

Hashes for nonebot_plugin_sunsetbot-0.1.1.tar.gz
Algorithm Hash digest
SHA256 bf3b2a7651acc4e8c3957215b4f6b5b24ff2eeaeb0fcd20c6effce7b5c0dab8c
MD5 c4b088132fbe611a707c08a2772597a2
BLAKE2b-256 0335a2189d0cd4e501ff7c23ae665187eb9b2944f19040993cf146a721ed8df4

See more details on using hashes here.

File details

Details for the file nonebot_plugin_sunsetbot-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_sunsetbot-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c8217806351c46e27b915759d2574c9218cc4f2db335993f2f9199c5d8c75536
MD5 03fd4b443a3f21bd3cf3ca557df262c8
BLAKE2b-256 15973c2e1f7f5a4f5c8be78f037d961455ed7f5ff6c651038dda1007a12c1ab5

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