Simple implementation of IRC bot in Python2