Beispiel #1
0
Datei: join.py Projekt: 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()
Beispiel #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()
Beispiel #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()
Beispiel #4
0
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()
Beispiel #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'] = {}
Beispiel #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'] = {}