-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy pathconfig-example.xml
77 lines (76 loc) · 2.17 KB
/
config-example.xml
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
<config>
<!--Bot authorisation details-->
<auth jid='user@server.com/Resource' pass='secreteating' priority='10' server='__optional__' />
<!--When this is set, the bot will ignore requests from anyone who isn't a member (see <users>). When it isn't set, the bot will respond to anyone except outcasts. If you run the bot in an anonymous room, you almost certainly want this set to false-->
<rooms>
<muc room='bar@conference.jabber.org' nick='SleekBot' />
</rooms>
<!--Location of the sqlite3 database used for persistent storage.-->
<storage file='test.sqlite' />
<!-- <require-membership /> -->
<!--Users the bot knows about. Owners have full access to the bot, admins have the next layer of access. If require-membership is set, the bot won't respond to anyone unless they have at least a member entry. Banned users are always ignored.-->
<users>
<owner>
<jid>yourjid@server.com</jid>
<jid>anotherjid@backupserver.com</jid>
</owner>
<admin>
<jid>trusteduser@server.com</jid>
</admin>
<member>
<jid>arbitrarybotuser@server.com</jid>
</member>
<banned>
<jid>banneduser@server.com</jid>
</banned>
</users>
<plugins>
<bot>
<plugin name='admin'>
<config />
</plugin>
<plugin name='pubsub_browser'>
<config />
</plugin>
<plugin name='mood'>
<config />
</plugin>
<plugin name='filter'>
<config />
</plugin>
<plugin name='say'>
<config />
</plugin>
<plugin name='pingbot'>
<config />
</plugin>
<plugin name='diceroll'>
<config />
</plugin>
<plugin name='uptime'>
<config />
</plugin>
<plugin name='seen'>
<config />
</plugin>
<plugin name='irssilogs'>
<config>
<log room='sleek@conference.psi-im.org' file='/home/bots/logbot/muclogs/sleek_at_conference.psi-im.org.irssi' />
</config>
</plugin>
<plugin name='rssbot'>
<config>
<feed url='http://planet.psi-im.org/atom.xml' refresh='20'>
<muc room='bar@conference.jabber.org' />
</feed>
</config>
</plugin>
<plugin name='xepbot'>
<config>
<xeps url='http://www.xmpp.org/extensions/xeps.xml'/>
<cache expiry='6' />
</config>
</plugin>
</bot>
</plugins>
</config>