Introducing GameSenseBot

I’m excited to announce a project we here at GameSense have been working on for the past few weeks:

GameSenseBot is a collaboration with The Blue Alliance to create an open source chat bot for Twitch streams. Written in C#, it uses SmartIrc4Net (an IRC library for .NET applications) to interpret commands sent in Twitch chat. It then uses Json.NET (a JSON library for .NET applications) and TBA’s API to pull information directly from The Blue Alliance and into chat. The project is open source and can be found on github.

GameSenseBot will be featured on twitch.tv/FRCGameSense whenever we’re live and we’re working with The Blue Alliance to integrate GSBot into GameDay. Below is a list of the commands that GSBot currently supports. If you have any other commands you’d like, please request them!


!command   input1        input2     Description
------------------------------------------------------------------------------
!question  yourQuestion             Submits a question during a GameSense show
!q         yourQuestion             Submits a question during a GameSense show
!tba       teamNumber               Links that team's TBA page
!name      teamNumber               Gets that team's name
!record    teamNumber               Gets that team's season record
!record    teamNumber    year       Gets that team's season record for that year
!record    teamNumber    eventCode  Gets that teams record at that event
!events    teamNumber               Gets a list of events that team is registered for
!events    teamNumber    year       Gets a list of events that team is registered for in that year
!help                               Prints a help message

Here’s what a command and resulting response would look like in chat:

User: !record 254 2014
Gamesensebot: 254 was 96-12-0 in 2014.
User: !record 469 2014
Gamesensebot: 469 was 93-27-1 in 2014.
User: !events 1986 2014
Gamesensebot: 1986 is registered for Central Illinois Regional, Greater Kansas City Regional, and Newton Division in 2014.
User: !record 319 2014nhdur
Gamesensebot: 319 was 12-5-1 at 2014nhdur.
User: !tba 1983
Gamesensebot: Here's FIRST Team 1983's page on TBA: www.thebluealliance.com/team/1983

If you’d like to use GameSenseBot on your Twitch Channel, or you’d like to contribute to the GameSenseBot project, please send me a PM.