--- a/rollbot.py Sun May 15 11:34:28 2016 +0800+++ b/rollbot.py Sun May 15 11:38:32 2016 +0800@@ -10,8 +10,8 @@ if sys.version_info < (3, 0):- reload(sys)- sys.setdefaultencoding('utf8')+ from sleekxmpp.util.misc_ops import setdefaultencoding+ setdefaultencoding('utf8') class Command(object):