CosmoQuestX / Rocket-Bot

The Bot of the New generation of explorers for the CosmoQuest server on Discord. Assembled with official APIs and documentation, originally created using the Github Students Program tools.
https://CosmoQuest.org/x/
2 stars 1 forks source link

Random image command #20

Closed KeeperOfMaps closed 2 years ago

KeeperOfMaps commented 2 years ago

I made a typo when issuing the !ping command and @starstryder commented "I now want png to be a random image".

After some discussion, it was decided that maybe the random image could be a random APOD.

TheRealFakeAdmin commented 2 years ago

NASA's APOD Open API Options/Ideas

The NASA Open API APOD docs

image

NASA Open API Docs & Info from here

KeeperOfMaps commented 2 years ago

Easier: generate a random date since APOD a started and serve that. Means no need to retrieve and store all of the APODs since it's unlikely to be used at a high rate.