This is an Astronomy discord bot with various functionalities and uses; created with python 3.11 and disnake.
Use this link to invite AstroBot to your server:
As of now, there are the following commands:
- help
- daily
- daily
YYYY-MM-DD
- daily random
- info
<query>
- iss
- channel
- remove
- fact
- weather
<location>
- sky
<location>
- phase
<location>
- in_space
- news
Returns the same list of commands that are listed below.
Gives the NASA APOD picture for the day.
Made using the discord embeds and the APOD api.
Gives the NASA picture for a specific date given by a user. Any valid date after 1995-6-16 is accepted.
For eg. /daily 2005-6-7
Gives a random NASA APOD picture from archives. Dates starting from 1996.
Ask about ANYTHING related to astronomy and astronomical bodies. It gives data and pictures related to the given query.
This uses Solar system Open Api and Wikpedia's API in a discord embed.
Find the live location of the international space station with respect to the Earth. This uses the reverse_geocoder python library and the WhereTheIssAt API.
Subscribe to the daily APOD service and get the daily picture as soon as it is released on the channel in which this command is posted.
Remove a channel from the APOD subscription.
Get a random astronomy fact from the fact library.
Get the real-time weather at any location
Get the phase of the moon at a user specified location
Get a map of the sky at a user specified location
Get info about the people currently in space in the ISS or in other stations.
Get the latest news in the sphere of astronomy,cosmology and space science.
Given below is the list of APIs/Sources Astrobot uses for its commands
- AstronomyAPI
- Geopy Library
- NASA's Astronomy Picture of The Day
- OpenWeatherMap API
- reverse_geocode library
- Wikimedia API
- WhereTheISSAt api
- SpaceFlight API
- Cormac Quaid's ISS API
You can vote for the bot so as to get more exposure at -
https://top.gg/bot/792458754208956466/vote
https://discordbotlist.com/bots/astrobot-2515/upvote
Join this discord server for any queries/problems/suggestions:
-
Add mars rover cam images
-
Integrate tools like SunCalc and MoonCalc
-
Improve
.info
to give only data and bring in.image
to give images (50% done) -
Possibly use SpaceFlight News API
-
Add video demos to README file
-
Use NASA's PDS Search API
-
Beef up /news to add other news sources
Always welcome more inputs, through issues and PRs. Open one if youve any ideas or constructive improvements to the bot. Also, if you dont want to contribute to the code, you can also add to the facts.txt database :)
This bot has been created with blood, sweat and tears by Advaith GS.
Find me on: https://advaithgs.repl.co
Discord: AdvaithGS#6700
email : [email protected]
And that's it !