fe2a4d6fe8
Additionally, pin the irc library version to 18.0 because the newer version has an error in the AioReactor: ``` File "/home/rht/code/venv/lib/python3.8/site-packages/irc/bot.py", line 108, in run self.bot.reactor.scheduler.execute_after(intvl, self.check) AttributeError: 'AioReactor' object has no attribute 'scheduler' ``` |
||
---|---|---|
.. | ||
irc-mirror.py | ||
irc_mirror_backend.py | ||
README.md | ||
requirements.txt |
IRC <--> Zulip bridge
Usage
./irc-mirror.py --irc-server=IRC_SERVER --channel=<CHANNEL> --nick-prefix=<NICK> --stream=<STREAM> [optional args]
--stream
is a Zulip stream.
--topic
is a Zulip topic, is optionally specified, defaults to "IRC".
IMPORTANT: Make sure the bot is subscribed to the relevant Zulip stream!!
Specify your Zulip API credentials and server in a ~/.zuliprc file or using the options.
Note that "_zulip" will be automatically appended to the IRC nick provided
Example
./irc-mirror.py --irc-server=irc.freenode.net --channel='#python-mypy' --nick-prefix=irc_mirror \
--stream='test here' --topic='#mypy' \
--site="https://chat.zulip.org" --user=<bot-email> \
--api-key=<bot-api-key>