internal void Run()
{
while(true) {
try {
while(true) {
TwitchChatEvent chatEvent = GetNextChatEvent();
RespondToEvent(chatEvent);
}
} catch(IOException connectionException) {
Log.error("Irc connection issue: ", connectionException);
}
Thread.SleepInSeconds(30);
Reconnect();
}
}