A script that computes the astronomical events of the day and sends them to a Discord webhook. The script uses Kosmorrolib to do the computations.
- First, create a webhook
- Fork this repository
- Add a secret to your fork:
- Name:
DISCORD_WEBHOOK
- Value: the URL of the webhook generated by Discord
- Name:
The script will be executed every day at 6:30 AM UTC (because it is adapted to French timezones). If you want it to be executed at another time, change the cron
option in discord-workflow.yml
with a Cron-compliant syntax.
Feel free to change the strings to adapt to your locale :)
For the moment, there is no facilities for this, but something will probably be done in the future.
Why is this not on the Kosmorro organization?
Even though I am the creator of Kosmorro, this is mostly an amusement and is not officially part of the project.