Esempio n. 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....")
Esempio n. 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....")
Esempio n. 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()
Esempio n. 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")
Esempio n. 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....")
Esempio n. 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")
Esempio n. 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")
Esempio n. 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")
Esempio n. 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")
Esempio n. 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)
Esempio n. 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")
Esempio n. 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")
Esempio n. 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
Esempio n. 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
Esempio n. 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 = []
Esempio n. 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")
Esempio n. 17
0
 def __init__(self, argument_parser=None):
     FlaskRestBotClient.__init__(self, "WebChat", argument_parser)
Esempio n. 18
0
 def __init__(self, argument_parser=None):
     FlaskRestBotClient.__init__(self, "WebChat", argument_parser)
     self._authorization = RestAuthorizationHandler.load_authorisation(self)
Esempio n. 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....")
Esempio n. 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....")
Esempio n. 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")
Esempio n. 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....")
Esempio n. 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 = [
     ]
Esempio n. 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)
Esempio n. 25
0
 def __init__(self, argument_parser=None):
     c = MockArgumentParserGiseldo()
     FlaskRestBotClient.__init__(self, "WebChat", c)
     self._authorization = RestAuthorizationHandler.load_authorisation(self)