Clean up typo, unnecessary import

This commit is contained in:
Shauna 2015-03-15 10:23:32 -04:00
parent a6bd89512f
commit 014976da34
2 changed files with 3 additions and 4 deletions

1
bot.py
View File

@ -3,7 +3,6 @@
# Import some necessary libraries. # Import some necessary libraries.
import socket, sys, time, csv, Queue, random, re, pdb, select, os.path import socket, sys, time, csv, Queue, random, re, pdb, select, os.path
from threading import Thread from threading import Thread
import ConfigParser
# To configure bot, please make changes in bot_settings.py # To configure bot, please make changes in bot_settings.py
import bot_settings as settings import bot_settings as settings

View File

@ -1,8 +1,8 @@
# Replace these default settings with your own personal settings # Replace these default settings with your own personal settings
# IRC configuration # IRC configuration
channel = "#openhatch-unlogged" channel = "#openhatch"
botnick = "parsewelcomebot" botnick = "welcomebot"
server = "irc.freenode.net" server = "irc.freenode.net"
registered = False registered = False
@ -14,4 +14,4 @@ nick_source = "nicks.csv"
# Bot text # Bot text
hello_list = ["hello", "hi", "hey", "yo", "sup"] hello_list = ["hello", "hi", "hey", "yo", "sup"]
help_list = ["help", "info", "faq", "explain_yourself"] help_list = ["help", "info", "faq", "explain_yourself"]
welcome_message = "Welcome! THe channel is pretty quiet right now, so I thought I'd say hello, and ping some people that you're here. If no one responds for a whle, try emailing us at hello@openhatch.org or just try coming back later. FYI, you're now on my list of known nicknames, so I won't bother you again." welcome_message = "Welcome! The channel is pretty quiet right now, so I thought I'd say hello, and ping some people that you're here. If no one responds for a whle, try emailing us at hello@openhatch.org or just try coming back later. FYI, you're now on my list of known nicknames, so I won't bother you again."