Exemple #1
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "slack")
     self._polling_interval = 1
     self._username = "******"
     self._reply_to_direct = True
     self._reply_to_mention = True
     self._reply_to_all = False
Exemple #2
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "socket")
     self._host = "0.0.0.0"
     self._port = 80
     self._debug = False
     self._queue = 5
     self._max_buffer = 1024
Exemple #3
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "xmpp")
     self._server = None
     self._port = 5222
     self._xep_0030 = False
     self._xep_0004 = False
     self._xep_0060 = False
     self._xep_0199 = False
Exemple #4
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "twitter")
     self._description = 'ProgramY AIML2.0 Twitter Client'
     self._polling_interval = 0
     self._rate_limit_sleep = -1
     self._use_status = False
     self._use_direct_message = False
     self._auto_follow = False
     self._welcome_message = "Thanks for following me."
Exemple #5
0
 def __init__(self, name):
     ClientConfigurationData.__init__(self, name)
     self._host = "0.0.0.0"
     self._port = 80
     self._debug = False
     self._use_api_keys = False
     self._api_key_file = None
     self._ssl_cert_file = None
     self._ssl_key_file = None
Exemple #6
0
 def __init__(self, name):
     ClientConfigurationData.__init__(self, name)
     self._host = "0.0.0.0"
     self._port = 80
     self._debug = False
     self._api = '/api/rest/v1.0/ask'
     self._use_api_keys = False
     self._api_key_file = None
     self._ssl_cert_file = None
     self._ssl_key_file = None
     self._authorization = None
Exemple #7
0
    def __init__(self):
        ClientConfigurationData.__init__(self, "rosnode")

        # Initializing config-variables used by the client
        if gestSettings.g_firstInit == True:
            gestSettings.g_rostopic_gestures = "gestureOut"
            gestSettings.g_queueSize = 10
        self._default_userid = "rosClient"
        self._nodename = "chatbot"
        self._rostopic_chat = "chatbotOUT"
        self._subscription = "chatbotIN"
        self._rosrate = 10
Exemple #8
0
    def __init__(self):
        ClientConfigurationData.__init__(self, "twitter")
        self._description = 'ProgramY AIML2.0 Twitter Client'
        self._polling_interval = 60
        self._rate_limit_sleep = 900

        self._follow_followers = True
        self._respond_to_mentions = True
        self._respond_to_directs = False

        self._mentions = ['#askprogramy']

        self._welcome_message = "Thanks for following me."
Exemple #9
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "console")
     self._default_userid = "console"
     self._prompt = ">>>"
Exemple #10
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "mock")
Exemple #11
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "telegram")
     self._unknown_command = None
     self._unknown_command_srai = None
Exemple #12
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "discord")
Exemple #13
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "webwebsocket")
     self._host = "0.0.0.0"
     self._port = 80
Exemple #14
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "voice")
     self._tts_engine_name = None
     self._stt_engine_name = None
     self._tts_engine = None
     self._stt_engine = None
Exemple #15
0
 def __init__(self):
     ClientConfigurationData.__init__(self, "slack")
     self._polling_interval = 1