-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py.example
executable file
·62 lines (45 loc) · 2.01 KB
/
config.py.example
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
#!/usr/bin/python3
# !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
# This file contains options that do not typically need to be changed.
# options.py has been split into options.py for common options, and config.py
# for less common options.
# This is the message to use to reject access to commands that require admin privs.
privrejectadmin = 'This function is reserved for admins only.'
# This is the message to use to reject access to commands that require user privs.
privrejectuser = 'This function requires you to register. Please use the register command.'
privrejectgeneric = 'This function requires a higher privilege level than you currently have. Please try registering or contact an admin.'
# This is the message to output to the terminal when a user does not hold user privs.
privloguser = ' did not complete due to required user priviledge.'
privlogadmin = ' did not complete due to required admin priviledge.'
#Configure the numeric levels of various user levels
privilegelevels = {
20 : 'admin',
3 : 'user',
0 : 'none' #don't touch this line
}
# Default level for new users
newUserLevel = 3
# Configure the required privilege levels required for various functions.
# Modules is reloading, enabling, and disabling, while showmods is
# for 'read-only' functions.
reqprivlevels = {
'modules' : 20,
'showmods' : 3,
'power': 20,
'errors': 20,
'acctMgmt': 20,
'acctInfo': 0,
'chanMgmt': 20,
'config': 20,
}
# If debug is set to 0, modules that fail will do so silently, and will not interrupt the bot's operation.
# However, the standard Python error message is not displayed.
# If set to 1, the error message will be displayed when a module crashes, but the entire bot will do down
# with it.
debug = 0
# Display a "command not found message"
cnf_enable = True
defaulthelp = "This is mypybot, a bot written in Python."
simpleAuthNotice = 'This bot is using implicit authentication. You do not need to use any authentication or registry commands.'
# Censor names of /home directories when displaying errors
privacy = True