Example #1
0
File: join.py Project: jcguy/ATM
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()
Example #2
0
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()
Example #3
0
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()
Example #4
0
File: join.py Project: Oracizan/ATM
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()
Example #5
0
def setup(bot):
	data = storage.get('seen')
	if data and isinstance(data,dict):
		bot.memory['seen_dict'] = data
	else:
		bot.memory['seen_dict'] = {}
Example #6
0
def setup(bot):
    data = storage.get('welcome')
    if data and isinstance(data, dict):
        bot.memory['welcome_dict'] = data
    else:
        bot.memory['welcome_dict'] = {}