-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathmagnet_config.py.example
83 lines (80 loc) · 1.77 KB
/
magnet_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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
import os
from magnet_api import *
BOT_HOME = os.path.dirname(__file__) + "/"
DATA_PATH = BOT_HOME + 'db/'
LOG_PATH = BOT_HOME + 'log/'
GOOGLE_KEY = '' #'&key=ABCDEF'
configuration1 = {
'jid': 'magnet@localhost/Bot',
'server': None, # ('1.2.3.4', 5222), # leave None to autodetect
'password': 'ABCDEF',
'avatar_hash': '', # sha1 of image
'log_level': 3, # 1 = error, 2 = warn, 3 = info, 4 = debug
'echo_log': True,
'hide_platform': False,
'info_file': '_magnet2info.txt',
'error_file': '_magnet2error.txt',
'unload_plugin_on_error': True,
'commands_level_overrides': {},
'commands_pm_only': [],
'commands_disabled': [],
'command_prefix': '!',
'bot_owners': [
'admin@localhost',
'admin2@localhost',
],
'nick': 'Magnet',
'db_prefix': '',
'mucs': {
'[email protected]': {
'options': [
'timebomb',
'simple_fun',
'status',
'rpg',
'say',
'google',
'ping',
'quote',
'seen',
],
'commands_level_overrides': {
'setnick': LEVEL_OWNER,
'setstatus': LEVEL_OWNER,
},
'commands_level_overrides': {},
'commands_pm_only': ['image'],
'commands_disabled': [],
},
'[email protected]': {
'nick': 'Bot',
'db_prefix': 'add',
'options': [
'google',
'seen',
],
},
},
'plugins': [
#'xml_log',
'logger',
'youtube',
'user_limits',
'command_simple_fun',
'command_rpg',
'command_google',
'command_ping',
'command_alias',
'command_users',
'command_admin',
'command_knowledge',
'command_ghost',
'command_timebomb',
'command_quote',
'command_seen',
'command_ignore',
'command_akick',
'command_addmod',
'command_cleanup',
]
}