Ejemplo n.º 1
0
    def __init__(self):
        # Read configuration
        self.conf = pluginconf.get('telegram')

        # Instance
        self.bot = telepot.Bot(self.conf['BOT_TOKEN'])
        self.bot.message_loop(self._msg_received)
        self._youtube_dl_sites = None
Ejemplo n.º 2
0
    def __init__(self):
        self.conn = None
        self._known_msgs = {}

        # Read conf
        self.conf = pluginconf.get('imap')
Ejemplo n.º 3
0
 def __init__(self):
     # Read conf
     self.conf = pluginconf.get('smtp')
Ejemplo n.º 4
0
    def __init__(self):
        self._objs = None

        # Read conf
        self.conf = pluginconf.get('ldap')
Ejemplo n.º 5
0
Archivo: vpn.py Proyecto: alobbs/autome
 def __init__(self):
     # Read configuration
     self.conf = pluginconf.get('vpn')