def setup(bot): data = storage.get('channel_timer') if data and isinstance(data, dict): bot.memory['channel_timer_dict'] = data else: bot.memory['channel_timer_dict'] = {} bot.memory['channel_timer_lock'] = threading.Lock()
def setup(bot): data = storage.get('tell') if data and isinstance(data,dict): bot.memory['tell_dict'] = data else: bot.memory['tell_dict'] = {} bot.memory['tell_lock'] = threading.Lock()
def setup(bot): data = storage.get('channel_timer') if data and isinstance(data,dict): bot.memory['channel_timer_dict'] = data else: bot.memory['channel_timer_dict'] = {} bot.memory['channel_timer_lock'] = threading.Lock()
def setup(bot): data = storage.get('seen') if data and isinstance(data,dict): bot.memory['seen_dict'] = data else: bot.memory['seen_dict'] = {}
def setup(bot): data = storage.get('welcome') if data and isinstance(data, dict): bot.memory['welcome_dict'] = data else: bot.memory['welcome_dict'] = {}