This repository was archived by the owner on Nov 24, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathconfig-example.py
64 lines (58 loc) · 1.95 KB
/
config-example.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
#___. .__ __ __
#\_ |__ | |__ _____/ |__/ |_ __ __
# | __ \| | \ / _ \ __\ __| | \
# | \_\ | Y ( <_> | | | | | | /
# |___ |___| /\____/|__| |__| |____/
# \/ \/
#
#
SERVER = "localhost" #server you wish for the bot to connect to
PORT = 6667 #port that you want the bot to connect on. Note that 6697 is usually SSL, but not always. If in doubt leave default
IS_SSL = False #whether or not to use SSL. If in doubt leave default, else set True
NICK = "bhottu" #nick you want the bot to use
IDENT = "bot" #ident you want the bot to send to the IRC server. note this value will be ignored if you have an identd installed
MODE = 0 #numerical IRC mode. see section 3.1.3 of RFC2812. Common values are "0" and "8" (invisible)
REALNAME = "bot" #real name sent to the server. Displayed in /whois
CHANNEL = "" #channel you want the bot to join on start
NICK_PASS = None #enter a string here to have the bot auto-auth to nickserv
#Logging information
STDOUT_LOGLEVEL = "DEBUG"
STDOUT_VERBOSE = True
LOG_FILE = "log"
LOG_LEVEL = "INFO"
LOG_VERBOSE = True
#These users are allowed to use all privileged commands regardless of if they're loaded in the Admin module or not
GODS = [""]
#See the section in README.md for more information
DB_HOSTNAME = "localhost"
DB_USERNAME = "root"
DB_PASSWORD = ""
DB_DATABASE = "bhottu"
#The pastebin to use (available: sprunge, nnmm, sicpme, ix)
PASTEBIN = 'nnmm'
#recommended modules. For more, browse modules/. There is documentation about writing them in the README and the default ones serve as good examples
ENABLED_MODULES = [
'Admins',
'AutoUpdate',
'BPController',
'CTCP',
'Echo',
'FloodControl',
'Greetings',
'Help',
'Ignore',
'LinkTitle',
'Lmddgtfy',
'LoadAverage',
'ManageModules',
'NickScore',
'Poll',
'Quit',
'Quotes',
'Remind',
'Reply',
'Spew',
'Tell',
'ThreadSearch',
'Weather',
]