From 8e0362d4bf4b1c929706f546e1dd9afc16d3453f Mon Sep 17 00:00:00 2001 From: Chris Oliver Date: Thu, 19 Jan 2012 19:33:50 -0600 Subject: Clarify configuration settings. Fixes #12 --- logbot.py | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/logbot.py b/logbot.py index 817fb4c..c001507 100644 --- a/logbot.py +++ b/logbot.py @@ -47,27 +47,31 @@ from irclib import nm_to_n ### Configuration options - DEBUG = False +# IRC Server Configuration SERVER = "irc.freenode.net" PORT = 6667 SERVER_PASS = None CHANNELS=["#excid3","#keryx"] NICK = "timber" NICK_PASS = "" -LOG_FOLDER = "logs" # local log folder location +# The local folder to save logs +LOG_FOLDER = "logs" + +# The message returned when someone messages the bot HELP_MESSAGE = "Check out http://excid3.com" +# FTP Configuration FTP_SERVER = "" FTP_USER = "" FTP_PASS = "" -FTP_FOLDER = "" # This folder and sub folders for any channels MUST be created on the server - +FTP_FOLDER = "" +# The amount of messages to wait before uploading to the FTP server FTP_WAIT = 25 -# Only upload every 25 messages + default_format = { "help" : HELP_MESSAGE, -- cgit v1.2.3-70-g09d2