AdmaJonse / nhl-bot

A Twitter bot that posts when events occur in Colorado Avalanche games.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mention the reason for the challenge during a coach's challenge tweet

AdmaJonse opened this issue · comments

We should really include why they're challenging the play. The problem is that this information seems to be in the stoppage event that occurs prior to this one. Getting data from multiple events is going to be difficult with the current setup.

Another symptom of this issue is that the challenge event only seems to be raised once the referee's decision has been made. So it always feels like this post is coming late. It might be easier to just parse all stoppage events for the word challenge and use that to raise the event instead. It doesn't seem like the challenge event even includes the result, so it doesn't really do us much good.