1
0
Fork 0
mirror of https://git.sr.ht/~rjarry/aerc synced 2025-02-23 07:53:59 +01:00
aerc/contrib/ircbot/Sourcehut/__init__.py
Robin Jarry 91dbd60781 contrib: add irc bot stuff
Add a small script to install a sourcehut webhook that triggers on
patchset reception.

Add a limnoria (supybot fork) plugin to receive the webhook requests and
send IRC NOTICE messages on the proper channels.

Signed-off-by: Robin Jarry <robin@jarry.cc>
Acked-by: Bence Ferdinandy <bence@ferdinandy.com>
2023-07-01 18:26:35 +02:00

21 lines
338 B
Python

"""
Sourcehut: Supybot plugin to receive Sourcehut webhooks
"""
import sys
import supybot
__version__ = "0.1"
__author__ = supybot.authors.unknown
__contributors__ = {}
__url__ = ''
from . import config
from . import plugin
from importlib import reload
reload(config)
reload(plugin)
Class = plugin.Class
configure = config.configure