using twisted to create an irc bot