summaryrefslogtreecommitdiff
path: root/logbot.py
diff options
context:
space:
mode:
authorChris Oliver <excid3@gmail.com>2012-01-19 19:33:50 -0600
committerChris Oliver <excid3@gmail.com>2012-01-19 19:33:50 -0600
commit8e0362d4bf4b1c929706f546e1dd9afc16d3453f (patch)
tree31d9cc72b5c8d6438e4a0e7875b96b1bf86fcad4 /logbot.py
parentb526393da8e7d7e303ce2a29388f44983b684020 (diff)
downloadlogbot-8e0362d4bf4b1c929706f546e1dd9afc16d3453f.tar.xz
Clarify configuration settings. Fixes #12
Diffstat (limited to 'logbot.py')
-rw-r--r--logbot.py14
1 files 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,