diff options
author | ubq323 <ubq323@ubq323.website> | 2024-09-03 12:52:17 +0100 |
---|---|---|
committer | ubq323 <ubq323@ubq323.website> | 2024-09-03 12:52:17 +0100 |
commit | b3de433cfd4e39c8fe6d776e258db3b44a3ddd39 (patch) | |
tree | 1467b88252052836f6344793eee2fe51b7dc5947 /main.lua | |
parent | 643e4202f4c5a5ee7a87779ffb69928e685db451 (diff) |
more thing
Diffstat (limited to 'main.lua')
-rw-r--r-- | main.lua | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/main.lua b/main.lua new file mode 100644 index 0000000..cbd98d8 --- /dev/null +++ b/main.lua @@ -0,0 +1,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'}, + }, +} + + |