WeatherBot gets alerts

WeatherBot gets alerts

I didn’t expect WeatherBot to become a series of posts, but the weather has been fluctuating so much scary.

WeatherBot has severe weather alerts now:

WeatherBot severe weather alerts

How it works

  1. If any alerts occur in the request, then loop through them.
  2. Get the title, start, expiration date, and link to the alert.
  3. Check the severity of the alert and assign an emoji (advisory :grey_exclamation:, watch :exclamation:, warning :bangbang:).
  4. Post to Slack.

I’m looking forward to using this bot as a reminder to open up my laptop and stay inside :grimacing:.


Did you enjoy this post? Support Soul Fire Farm. Soul Fire Farm is committed to ending racism and injustice in the food system.