Inspiration
In this day and age, we are more closed in, with many people not realizing how the weather is from the look of the outside view of their window. So we built WeatherBot! Making life a lot easier
What it does
The bot takes in a very quick and easy command inside a server asking just for the city you are looking to get the weather for. In return it retrieves the current temperature, in Fahrenheit, along with the the condition of the clouds, whether it is sunny or cloudy, as well as the current wind speed.
How we built it
With the use of OpenWeatherMap's and Discord API, we are able to request specific data in which the client, on discord, is asking for on OpenWeatherMap and convert any metrics as well as format it in an easy and readable way.
Challenges we ran into
We had many issues with learning certain command use in Discord's API which would not allow the bot to even function. This issue would cause my team to break down the root of the issue in order to trace the cause of the problem. We also had to spend a lot of time to learn how to gather the data from OpenWeather.
Accomplishments that we're proud of
We are extremely proud of the whole project functioning as this would be one of our most complex project so far.
What we learned
We learned how to collaborate under a new environment as well as learning how to use API's and take advantage of their powerful functions. This helped us also better structure our code.
What's next for WeatherBot
We hope to soon add many more key functions that will allow for; weather warning alerts, scheduled weather updates, and forecast.
Built With
- discord.py
- openweathermap
- python
Log in or sign up for Devpost to join the conversation.