diff options
| author | olive <olive@olive.ooo> | 2026-09-12 21:03:00 +0100 |
|---|---|---|
| committer | olive <olive@olive.ooo> | 2026-09-12 21:03:00 +0100 |
| commit | c593260d4f522f8ee0e51bd70db021e85a7e4d25 (patch) | |
| tree | 77070e67c74bb65ed7eaca953194294a85cffa64 /main.lua | |
| parent | 1f9192f9d6639dedd243532616fb034f0e5bb14a (diff) | |
discord channel webhooking
Diffstat (limited to 'main.lua')
| -rw-r--r-- | main.lua | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |
