Example #1
0
    def __init__(self):
        DbManager.__init__(self)

        # {'class name': instance}
        self.instances = {}

        # [(class name, function name, args, kwargs, interval_min), ]
        self.functions = []
Example #2
0
    def __init__(self, bot_config, sleep_time_sec=1):
        # Init TwitterBotBase.
        TwitterBotBase.__init__(self, bot_config, sleep_time_sec)

        # Init DbManager.
        DbManager.__init__(self)