From c593260d4f522f8ee0e51bd70db021e85a7e4d25 Mon Sep 17 00:00:00 2001 From: olive Date: Sat, 12 Sep 2026 21:03:00 +0100 Subject: discord channel webhooking --- main.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'main.lua') diff --git a/main.lua b/main.lua index cd81b0e..b1cb708 100644 --- a/main.lua +++ b/main.lua @@ -3,6 +3,7 @@ local class = require'r.class' local config = require'config' local Channel = require'channel' +local pprint = require'pprint' local pylon_classes = { irc = require'irc.pylon', @@ -50,6 +51,7 @@ function Wilson.deliver(self, source_channel, message) if bus then for _, dest_channel in ipairs(bus) do if source_channel ~= dest_channel then + pprint(source_channel, "-->", dest_channel, message) dest_channel.pylon:post(dest_channel, message) end end -- cgit v1.2.3