View Single Post
  #3   Spotlight this post!  
Unread 04-09-2016, 17:46
bdaroz's Avatar
bdaroz bdaroz is online now
Programming Mentor
AKA: Brian Rozmierski
FRC #5881 (TVHS Dragons)
Team Role: Mentor
 
Join Date: Jan 2016
Rookie Year: 2016
Location: Albany, NY
Posts: 401
bdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud ofbdaroz has much to be proud of
Re: Announcing the Unofficial TBA Slack Bot Closed Beta

Quote:
Originally Posted by plnyyanks View Post
Nice stuff!

How did you implement the following teams bit? Are you using webhooks, or just polling?
Thanks,

The bot uses hooks on both side of the Slack <-> Bot <-> TBA side to be a "good neighbor". On the Slack side that's their Event API, and Webhooks on TBA. In addition we added the basic TBA cache (If-Modified-Since) header and on top of that added an adjustable "don't even bother asking" cache to try to keep the calls to TBA somewhat reasonable.
Reply With Quote