You are browsing as a guest. Sign up (or log in) to start making projects!

Griffin_Olowin

@Griffin_Olowin

Joined June 2nd, 2026

  • 6Devlogs
  • 1Projects
  • 0Ships
  • 0Votes
Open comments for this post

1h 2m 33s logged

better /weather command and a newly commented code!

So initally, my /gda-weather command only worked for Charlottesville (where I live), and only also in Fahrenheit (strictly inferior but sadly the only one I coherently understand). I started off today by doing some research into how to actually accomplish my goal of any city, any system. I actually ended up switching into a much better weather API that allowed me to tell the temperature by city. I am not particularly good at Javascript (for now), so I decided that the easiest way to have the difference in between Fahrenheit and Celsius was just to make a specifically Celsius version of the same /gda-weather command, /gda-celsius-weather. I know, so origional.

better /weather command and a newly commented code!

So initally, my /gda-weather command only worked for Charlottesville (where I live), and only also in Fahrenheit (strictly inferior but sadly the only one I coherently understand). I started off today by doing some research into how to actually accomplish my goal of any city, any system. I actually ended up switching into a much better weather API that allowed me to tell the temperature by city. I am not particularly good at Javascript (for now), so I decided that the easiest way to have the difference in between Fahrenheit and Celsius was just to make a specifically Celsius version of the same /gda-weather command, /gda-celsius-weather. I know, so origional.

Replying to @Griffin_Olowin

0
Open comments for this post

31m 53s logged

Final bug fixes, sorting API keys, and testing. A lot of this time was just me realizing that for API’s to work propperly, you actually have to use the API key that they require. This is my first time in Javascript and using API’s, so I was quite unaware of how they worked. However, they make a lot more sense now!

Final bug fixes, sorting API keys, and testing. A lot of this time was just me realizing that for API’s to work propperly, you actually have to use the API key that they require. This is my first time in Javascript and using API’s, so I was quite unaware of how they worked. However, they make a lot more sense now!

Replying to @Griffin_Olowin

0
Open comments for this post

36m 1s logged

Changing spacefact into Spaceimage. Spacefact was the inital version, and was meant to give you a random spacefact. However, there are not many API’s that do this, and the one I found did not do it well. I did stumble across NASA’s APOD, and was quite intrigued. I then reverse-engineered their API for it (It was written in python) to work in Javascript. I then spent a while trying (and mostly failing) to display the image directly in slack. I eventually figured out not only how to display it using a block, but also how to make it appear in slack.

Changing spacefact into Spaceimage. Spacefact was the inital version, and was meant to give you a random spacefact. However, there are not many API’s that do this, and the one I found did not do it well. I did stumble across NASA’s APOD, and was quite intrigued. I then reverse-engineered their API for it (It was written in python) to work in Javascript. I then spent a while trying (and mostly failing) to display the image directly in slack. I eventually figured out not only how to display it using a block, but also how to make it appear in slack.

Replying to @Griffin_Olowin

0
Open comments for this post

1h 11m 53s logged

Other commands and testing bot in Slack. The other commands that I added in included /gda-8ball to give you magical predictions, /gda-weather, to give you the weather, and /gda-spacefact, to give you a random spacefact. Some of this time, as previously stated, was spent testing the bot commands in Slack. Some of them worked first try, but many had errors that I tried to figure out, including how to get the 8-ball to actually display anything besides [object Object] in Slack.

Other commands and testing bot in Slack. The other commands that I added in included /gda-8ball to give you magical predictions, /gda-weather, to give you the weather, and /gda-spacefact, to give you a random spacefact. Some of this time, as previously stated, was spent testing the bot commands in Slack. Some of them worked first try, but many had errors that I tried to figure out, including how to get the 8-ball to actually display anything besides [object Object] in Slack.

Replying to @Griffin_Olowin

0
Open comments for this post

23m 14s logged

Set up tokens and first basic command using the guide because I am new to Javascript and this is my first Hack Club project.

Set up tokens and first basic command using the guide because I am new to Javascript and this is my first Hack Club project.

Replying to @Griffin_Olowin

0

Followers

Loading…