-
Notifications
You must be signed in to change notification settings - Fork 0
/
default_config.py
60 lines (51 loc) · 1.38 KB
/
default_config.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
# Basic bot information
BOT = {
'nick': 'RoboRex',
'realname': 'RoboRex',
'channels': ('#Channel', )
}
# What server to join
SERVER = {
'host': 'server.com',
'port': 6667
}
# List of bot admins with passwords
ADMINS = {
'Nick': 'password',
}
# What modules to load on start
MODULES = (
'modules/admin.py',
'modules/ignore.py',
'modules/utils.py',
'modules/randquote.py',
)
# Should the bot be verbose?
VERBOSE = True
# List of blacklisted function names
BLACKLIST = (
)
# List of usernames to ignore commands from
IGNORES = (
)
# Utils autogreet function configuration
GREETINGS = {
'welcome': True, # Welcom joining users
'bot-react': False, # React when someone says "bot"
'name-react': False, # React when someone mentions the bots nick
# List of greetings to use while greeting users
'greetings': (
'Well well well, who do we have here? Greetings {}!',
'Hello {}!',
'I\'m not one to gossip but {0} is... O hello {0}! Didn\'t see you there... heh',
'\me hugs {}',
)
}
# Randquote module configuration
RANDQUOTE = {
'name-react': True, # Should the bot react to its name
'bot-react': True, # Should the bot react if someone says "bot"
'throw': 00, # The throw probability (0-100)
'gather': 30, # the gather probability (0-100)
'database': 'quote.db', # Database file, :memory: for RAM db
}