Skip to main content

定时发送 NASA 每日提供的天文图片

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-apod

✨ 每日天文一图 ✨

License PyPI Python
NoneBot Registry Supported Adapters

安装

使用nb-cli [推荐]

nb plugin install nonebot-plugin-apod

使用pip

pip install nonebot-plugin-apod

使用

命令需要加 NoneBot 命令前缀 (默认为/)
命令需要用户为 SuperUsers
使用命令APOD/apod触发插件
命令选项状态 查询定时任务状态
命令选项关闭 关闭定时任务
命令选项开启 开启定时任务

配置项

配置方式:直接在 NoneBot 全局配置文件中添加以下配置项即可

apod_api_key [必填]

  • 类型:str
  • 默认值:None
  • 说明:用于获取每日天文一图的 NASA API Key

apod_default_send_time [选填]

  • 类型:str
  • 默认值:13: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_apod-0.0.4.tar.gz (5.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_apod-0.0.4-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_apod-0.0.4.tar.gz.

File metadata

  • Download URL: nonebot_plugin_apod-0.0.4.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.2 Linux/6.1.0-28-cloud-amd64

File hashes

Hashes for nonebot_plugin_apod-0.0.4.tar.gz
Algorithm Hash digest
SHA256 2c0cedc76ede7d0aad06e54ac9dd9dfb344752f3eb2296b8e6c9c546bbe77d87
MD5 10e2a7deb6b456c150a6fd136cee410d
BLAKE2b-256 ffd6e8ea215e6bfbcc8edc999e8b8a9d6e8c4c9856a9b053bf081aced6e4942d

See more details on using hashes here.

File details

Details for the file nonebot_plugin_apod-0.0.4-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_apod-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.2 Linux/6.1.0-28-cloud-amd64

File hashes

Hashes for nonebot_plugin_apod-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 91f5844498c56948722b1b3558c24472e5b922b2a1543c33b5be165e62b179ae
MD5 1fd0aa0148429636d025c05acfe230d9
BLAKE2b-256 a0a5ab4d94b153bdb75223afc6a55b9151714f5fa969e1b6919db6ca478fa59e

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