Inspiration

I was inspired by the series Cosmos and this day's GHW prompt!

What it does

It replies to users' messages (a bunch of if statements). sometimes humorously, and sends the Astronomy Picture of the Day to any response having "space" in it. (For now ^o^)

How I built it

I took to the discord library's official documentation and this discord bot development video series from thenewboston on YouTube for the bot part. I also had to look up how to use the requests library in python and parse json data.

Challenges I ran into

I did not have a lot of experience when it came to making a discord bot so this was very much a learning experience for me. I had also very limited experience working with asynchronous programming and sending requests in python. So that made the process a lot more engaging and productive!

Accomplishments that we're proud of

Having missed the project deadline the previous GHW days because of struggling to manage time with my college exams, I managed to finally take a project to a "finished"-enough state in time!

What we learned

I learned that websites like rapidAPI exist which really interested me considering how I saw projects similar to what i have been working on over there and API development of similar form really makes me curious to check more such projects and ideas out (and maybe even develop my own!). I also learned how to use the discord python library for making bots, send requests using python and parse JSON. 10/10, awesome experience.

What's next for DeGrasse

All the functionalities can be made more formal and strict so as to avoid confusion (any string having the word space in it is a terrible way to be asking to sent space photos even though it passes in small informal settings where it comes off as a funny ironically-obnoxious-bot behaviour :P) Plus better greeting messages!

Built With

Share this project:

Updates