smilegodly / mewbot

A discord bot with some cool features made with Python.
2 stars 3 forks source link

Get APOD API functionality #5

Closed smilegodly closed 4 years ago

smilegodly commented 4 years ago

It would be nice to have the 'Astronomy Picture Of The Day' to be displayed each day in a message channel. The message each day should be in the following format and should look like the following.

image

Cruising through the inner solar system, Comet ATLAS C2019/Y4 has apparently fragmented.
Multiple separate condensations within its diffuse coma are visible in this telescopic close-up from April 12, composed of frames tracking the comet's motion against trailing background stars.
Discovered at the end of December 2019, this comet ATLAS showed a remarkably rapid increase in brightness in late March. 
Northern hemisphere comet watchers held out hope that it would become a bright nake-eye comet as it came closer to Earth in late April and May. 
But fragmenting ATLAS is slowly fading in northern skies.
The breakup of comets is not uncommon though. 
This comet ATLAS is in an orbit similar to the Great Comet of 1844 (C/1844 Y1) and both may be fragments of a single larger comet.
smilegodly commented 4 years ago

This branch begins to implement this feature. https://github.com/smilegodly/mewbot/tree/apod

Image media type posts are implemented, I still need to implement and test video media type posts.

smilegodly commented 4 years ago

Apod now has video media type posts https://github.com/smilegodly/mewbot/commit/a069d64eb5e9963f7981dfddb31c7889b0150bc3