Example #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
Example #2
0
    def __init__(self):
        self.conn = None
        self._known_msgs = {}

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

        # Read conf
        self.conf = pluginconf.get('ldap')
Example #5
0
File: vpn.py Project: alobbs/autome
 def __init__(self):
     # Read configuration
     self.conf = pluginconf.get('vpn')