Please sign in to access this page

Atmosbot

Atmosbot

10 devlogs
5h 48m
•  Ship certified
Created by fsh

A Discord.js bot that gets and sends weather data from OpenWeatherMap.

Commands
- /temp: Gets the current temperature
- /wind: Gets the current wind information
- /conditions: Gets the current weather conditions
- /sun: Gets the sunrise and sunset times
- /info: Information about the bot
- /commands: List of commands
- /weather: Everything in one message

The demo link is an invite to the Discord server, where you can run commands and use the bot.

Timeline

Ship 1

0 payouts of shell 0 shells

fsh

about 20 hours ago

fsh Covers 10 devlogs and 5h 48m

The new /commands command lists and describes commands.
In this time, I also troubleshooted some bugs.

Update attachment

I added /info and /weather. /info displays information about the bot and /weather displays all the data I currently added to the bot.

Update attachment

The new /sun command lists the sunrise and sunset times for the location. I also moved the API key to another file.

Update attachment

I added Feels like to the /temp command.
From the OpenWeather blog:
Simply put, this parameter accounts for the human perception of weather; it lets you know how the temperature ‘feels’.

Update attachment

I added a new command that displays the current weather conditions at the location.

Update attachment
fsh
fsh
1h 1m 4 days ago

I added a new /wind command. The bot replies with wind speed (in km/h, m/s or mph) and wind direction. The API provides m/s and mph and km/h is converted from m/s.

Update attachment

I added an option to select either Celsius or Fahrenheit units. The bot requests from the API based on the selected option and displays the data with the correct symbol (°C or °F).

Update attachment

I added high and low temperatures to the /temp command. The reply formatting was also edited.

Update attachment

I added the /temp command. This command allows the user to enter a location and the bot will reply with the current temperature.

Update attachment

I followed a tutorial to write basic code to connect my bot to Discord. I am hosting it on Nest and currently adding slash commands.

Update attachment