def doChain(self): """ invoke handlers and return reply xmlstr """ try : result = self.invokeNext() return result==None and textReply(self.userMsg) or result except Exception as e: logging.exception(str(e)) return textReply(self.userMsg,"555更新姬被玩坏了啦><")
def doChain(self): """ invoke handlers and return reply xmlstr """ try: result = self.invokeNext() return result == None and textReply(self.userMsg) or result except Exception as e: logging.exception(str(e)) return textReply(self.userMsg, "555不能碰那里了啦><")
def handle(self, handlerChain): if handlerChain.getMsgContent() == __coderCalenderKey__: return textReply(handlerChain.userMsg, find()) else: return handlerChain.invokeNext()
def handle(self,handlerChain): if handlerChain.getMsgContent() == __animeListKey__: return textReply(handlerChain.userMsg,todayContent()) else: return handlerChain.invokeNext()
def handle(self,handlerChain): if handlerChain.getMsgContent() == __coderCalenderKey__: return textReply(handlerChain.userMsg,find()) else: return handlerChain.invokeNext()