Quote:
Originally Posted by plnyyanks
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.
