BrianMitchL / weatherBot

⛈ A Twitter bot for weather

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for custom special event timers

BrianMitchL opened this issue · comments

If it snows, you don't want to see a tweet about it every half hour. Maybe make a list of recent special events with a time stamp, and check against that when another special event is triggered to see if it has happened recently. Then special events of type 'snow', for example, could wait two hours, instead of 30 minutes before tweeting about it again. This would allow another special event, such as, 'rain' to happen within that two hours.

Implemented in 5a99221, will be merged into master in the coming weeks