Added linerate property and started a method to keep state.
Added the rest of the code to restart the bot on connection loss.
Merge branch 'master' of github.com:rawsonj/triviabot