XMPP and IRC bot written in python