From b3de433cfd4e39c8fe6d776e258db3b44a3ddd39 Mon Sep 17 00:00:00 2001 From: ubq323 Date: Tue, 3 Sep 2024 12:52:17 +0100 Subject: more thing --- main.lua | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 main.lua (limited to 'main.lua') 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'}, + }, +} + + -- cgit v1.2.3