Bot icon
Strata Strata#4334
Status
Prefix:
/weather
Owner:
unknown
Library:
discord.js
Provides weather forecasts for zipcodes in the US and Canada
Owner: unknown Prefix: /weather

Strata

Strata is a weather bot that can return current, hourly, and daily weather forecasts for zipcodes within the US and Canada.

Commands

Strata is powered by the OpenWeatherMap API and can provide various forecasts:

  • /weather current [zipcode] (format)
    • Current weather for the provided zip code including temperature, humidity, wind, and more
  • /weather hourly [zipcode] (forecast) (format)
    • An hour-by-hour forecast for the provided zip code for the next 48hrs. The forecast option changes the report given. Defaults to the temperature
  • /weather daily [zipcode] (format)
    • A day-by-day forecast for the provided zip code for the next week
Formats

Strata can return forecasts in either Imperial, Metric, or Standard units. The default is Imperial. Change the format option on commands to return in different units.

Caching

Each zipcode's weather report is cached once accessed. It will not update from the API until 10min have passed from the initial request. Current, hourly, and daily reports all use the same data source, so this will speed up Strata when checking various reports for the same zipcode.