Reset to defaults

This commit is contained in:
Shauna 2014-10-18 00:55:12 -04:00
parent 06077c3e63
commit b19da63151

6
bot.py
View File

@ -6,9 +6,9 @@ from threading import Thread
# Some basic variables used to configure the bot. # Some basic variables used to configure the bot.
server = "irc.freenode.net" server = "irc.freenode.net"
channel = "#openhatch-bots" # Please use #openhatch-bots rather than #openhatch for testing channel = "#openhatch" # Please use #openhatch-bots rather than #openhatch for testing
botnick = "WelcomeBot" botnick = "WelcomeBot"
channel_greeters = ['shauna'] #, 'paulproteus', 'marktraceur'] channel_greeters = ['shauna', 'paulproteus', 'marktraceur']
hello_list = [r'hello', r'hi', r'hey', r'yo', r'sup'] hello_list = [r'hello', r'hi', r'hey', r'yo', r'sup']
help_list = [r'help', r'info', r'faq', r'explain yourself'] help_list = [r'help', r'info', r'faq', r'explain yourself']
@ -20,7 +20,7 @@ help_list = [r'help', r'info', r'faq', r'explain yourself']
# Defines a bot # Defines a bot
class Bot(object): class Bot(object):
def __init__(self, nick_source='nicks.csv', wait_time=5): def __init__(self, nick_source='nicks.csv', wait_time=60):
self.nick_source = nick_source self.nick_source = nick_source
self.wait_time = wait_time self.wait_time = wait_time
self.known_nicks = [] self.known_nicks = []