Пример #1
0
    def __init__(self, argument_parser=None):
        self._bot_api_key = None
        FlaskRestBotClient.__init__(self, "kik", argument_parser)

        self._kik_bot = self.create_kik_bot()

        YLogger.debug(self, "Kik Client is running....")
Пример #2
0
    def __init__(self, argument_parser=None):
        self._description = "Programy AIML2.x Line Client"
        FlaskRestBotClient.__init__(self, "line", argument_parser)

        self.create_line_bot()

        YLogger.debug(self, "Line Client is running....")
Пример #3
0
    def __init__(self, argument_parser=None):
        self._viber_bot = None
        self._viber_token = None
        FlaskRestBotClient.__init__(self, "viber", argument_parser)

        YLogger.debug(self, "Viber Client is running....")

        self.create_bot()
Пример #4
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, 'facebook', argument_parser)

        YLogger.debug(self, "Facebook Client is running....")

        self._facebook_bot = self.create_facebook_bot()

        print("Facebook Client loaded")
Пример #5
0
    def __init__(self, argument_parser=None):
        self._channel_access_token = None
        self._channel_secret = None
        FlaskRestBotClient.__init__(self, "line", argument_parser)

        self.create_line_bot()

        YLogger.debug(self, "Line Client is running....")
Пример #6
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, 'facebook', argument_parser)

        YLogger.debug(self, "Facebook Client is running....")

        self._facebook_bot = self.create_facebook_bot()

        print("Facebook Client loaded")
Пример #7
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, 'alexa', argument_parser)

        YLogger.debug(self, "Alexa Client is running....")

        self._load_intent_mappings()

        outputLog(self, "Alexa Client loaded")
Пример #8
0
    def __init__(self, argument_parser=None):
        self._description = "Programy AIML2.x Facebook Client"
        FlaskRestBotClient.__init__(self, 'facebook', argument_parser)

        YLogger.debug(self, "Facebook Client is running....")

        self._facebook_bot = self.create_facebook_bot()

        print("Facebook Client loaded")
Пример #9
0
    def __init__(self, argument_parser=None):
        self._access_token = None
        FlaskRestBotClient.__init__(self, 'facebook', argument_parser)

        YLogger.debug(self, "Facebook Client is running....")

        self._facebook_bot = self.create_facebook_bot()

        outputLog(self, "Facebook Client loaded")
Пример #10
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, 'alexa', argument_parser)

        YLogger.debug(self, "Alexa Client is running....")

        print("Alexa Client loaded")

        logging.getLogger("flask_ask").setLevel(
            self.configuration.ask_debug_level)
Пример #11
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, 'twilio', argument_parser)

        YLogger.debug(self, "Twilio Client is running....")

        self.get_license_keys()

        self._twilio_client = self.create_twilio_client()

        print("Twilio Client loaded")
Пример #12
0
    def __init__(self, argument_parser=None):
        self._viber_bot = None
        self._viber_token = None
        FlaskRestBotClient.__init__(self, "viber", argument_parser)

        YLogger.debug(self, "Viber Client is running....")

        if self._viber_token is not None:
            self._viber_bot = self.create_viber_bot(self._viber_token)

        else:
            YLogger.error(self, "Viber token missing, unable to create client")
Пример #13
0
 def __init__(self, argument_parser=None):
     FlaskRestBotClient.__init__(self, "flask", argument_parser)
     self.aborted = False
     self.answer = None
     self.ask_question_exception = False
Пример #14
0
 def __init__(self, argument_parser=None):
     FlaskRestBotClient.__init__(self, "flask", argument_parser)
     self.aborted = False
     self.answer = None
     self.ask_question_exception = False
Пример #15
0
 def __init__(self, argument_parser=None):
     FlaskRestBotClient.__init__(self, "WebChat", argument_parser)
     # Enter you API keys, here, alternatively store in a db or file and load at startup
     # This is an exmaple, and therefore not suitable for production
     self._api_keys = []
Пример #16
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, 'microsoft', argument_parser)

        YLogger.debug(self, "Microsoft Client is running....")

        print("Microsoft Client loaded")
Пример #17
0
 def __init__(self, argument_parser=None):
     FlaskRestBotClient.__init__(self, "WebChat", argument_parser)
Пример #18
0
 def __init__(self, argument_parser=None):
     FlaskRestBotClient.__init__(self, "WebChat", argument_parser)
     self._authorization = RestAuthorizationHandler.load_authorisation(self)
Пример #19
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, "kik", argument_parser)

        self.create_kik_bot()

        YLogger.debug(self, "Kik Client is running....")
Пример #20
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, "line", argument_parser)

        self.create_line_bot()

        YLogger.debug(self, "Line Client is running....")
Пример #21
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, 'google', argument_parser)

        YLogger.debug(self, "Google Client is running....")

        print("Google Client loaded")
Пример #22
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, "line", argument_parser)

        self.create_line_bot()

        YLogger.debug(self, "Line Client is running....")
Пример #23
0
 def __init__(self, argument_parser=None):
     FlaskRestBotClient.__init__(self, "WebChat", argument_parser)
     # Enter you API keys, here, alternatively store in a db or file and load at startup
     # This is an exmaple, and therefore not suitable for production
     self._api_keys = [
     ]
Пример #24
0
    def __init__(self, argument_parser=None):
        FlaskRestBotClient.__init__(self, "viber", argument_parser)

        YLogger.debug(self, "Viber Client is running....")

        self._viber_bot = self.create_viber_bot(self._viber_token)
Пример #25
0
 def __init__(self, argument_parser=None):
     c = MockArgumentParserGiseldo()
     FlaskRestBotClient.__init__(self, "WebChat", c)
     self._authorization = RestAuthorizationHandler.load_authorisation(self)