Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/l/i/lisa-plugin-ChatterBot-0.1.6/lisa/plugins/ChatterBot/modules/chatterbot.py   lisa-plugin-ChatterBot(Download)
    def getTime(self, jsonInput):
        now = datetime.now()
        return {"plugin": "ChatterBot",
                "method": "getTime",
                "body": now.strftime(self._('time'))
    def sayHello(self, jsonInput):
        return {"plugin": "ChatterBot",
                "method": "sayHello",
                "body": self._('Hello. How are you ?')
        }