Summer of Making Monitor

Summer of Making Monitor

8 devlogs
5h 28m
•  Ship certified
Created by mahad

A shop monitor for the Summer of Making shop!

Timeline

Ship 1

1 payout of shell 57.0 shells

mahad

about 1 month ago

mahad Covers 8 devlogs and 5h 28m

Fixed regions (now it shows prices for all countries!)

Update attachment

Fixed bugs, TS config. The shop code updated overnight and I fixed the bot so it can read prices properly.

Update attachment
  • Handles limited items (e.g. the Amp credits)
  • Ignores whitespace changes (the updates for these are pretty useless since no one wants to be pinged because someone removed a space from an item description)
  • Make the bot run every minute for faster alerts
  • Make the checks on the scraped data tighter in order to not return bad data
  • Made a sweet banner!
Update attachment

Made notification summaries in the Activity tab more helpful (thanks @Jeremy!)

(They used to just say @shop-watchers for every single update :pf:)

Update attachment

Cleaned up code, started working on improving channel ping notification messages in your Activity tab.

Update attachment

Observability is important. Slack said that my API requests were incorrect, and @GGORG mentioned how it would only send a maximum of one update, even when there were more than one!

To fix this, I added Sentry (https://sentry.io) to my project and now log all Slack API requests and items. The end result is that in case the SOM devs change up the shop code (the bot uses HTML scraping), I'll be notified and can fix the bot.

Update attachment
  • Added usergroup pings

  • Fixed a bug where more than one update wouldn't be posted at a time

Update attachment

Added update/new item alerts!

Update attachment