refactored ircbot.py