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
|
local irc=require'irc'
local xmpp=require'xmpp'
local discord=require'discord'
local pylon_confs = {
xmpp_ubq323 = {
type='xmpp',
jid='wilson@ubq323.website',
server='ubq323.website',
auth='...',
resource='wilson',
},
irc_apionet = {
host='localhost',
port=6667
password='mypassword',
nodename='wilson.ubq323',
},
}
local pylons = {}
for name, conf in pairs(pylon_confs) do
pylons[name] = pylon_types[conf.type].make_pylon(name, conf)
end
local channels = {
d = {
{xmpp_ubq323, 'd@conference.ubq323.website'},
{irc_apionet, '#d'},
},
}
|