Clarify configuration settings. Fixes #12
This commit is contained in:
parent
b526393da8
commit
8e0362d4bf
1 changed files with 9 additions and 5 deletions
14
logbot.py
14
logbot.py
|
@ -47,27 +47,31 @@ from irclib import nm_to_n
|
||||||
|
|
||||||
|
|
||||||
### Configuration options
|
### Configuration options
|
||||||
|
|
||||||
DEBUG = False
|
DEBUG = False
|
||||||
|
|
||||||
|
# IRC Server Configuration
|
||||||
SERVER = "irc.freenode.net"
|
SERVER = "irc.freenode.net"
|
||||||
PORT = 6667
|
PORT = 6667
|
||||||
SERVER_PASS = None
|
SERVER_PASS = None
|
||||||
CHANNELS=["#excid3","#keryx"]
|
CHANNELS=["#excid3","#keryx"]
|
||||||
NICK = "timber"
|
NICK = "timber"
|
||||||
NICK_PASS = ""
|
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"
|
HELP_MESSAGE = "Check out http://excid3.com"
|
||||||
|
|
||||||
|
# FTP Configuration
|
||||||
FTP_SERVER = ""
|
FTP_SERVER = ""
|
||||||
FTP_USER = ""
|
FTP_USER = ""
|
||||||
FTP_PASS = ""
|
FTP_PASS = ""
|
||||||
FTP_FOLDER = ""
|
|
||||||
# This folder and sub folders for any channels MUST be created on the server
|
# 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
|
FTP_WAIT = 25
|
||||||
# Only upload every 25 messages
|
|
||||||
|
|
||||||
default_format = {
|
default_format = {
|
||||||
"help" : HELP_MESSAGE,
|
"help" : HELP_MESSAGE,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue