Python version of the official CrystalIRC bot