No Description

Adonay Felipe Nogueira 5a88d8d747 Add note about original project (upstream) 2 years ago
.gitignore 1b1e5ff428 initial commit 8 years ago
AUTHORS 6f7188e194 Mention distros' packages, auth bot and an issue with disconnection 2 years ago
LICENSE 1b1e5ff428 initial commit 8 years ago
README.md 5a88d8d747 Add note about original project (upstream) 2 years ago
example.ini 760770eb88 Add IRC authentication, improved limits and fix XMPP user list 3 years ago
hybridbot.py cb2ec3c87a Better wording for disconnection issue and attempted fix 2 years ago
requirements.txt aa67de2acc Switch to asyncio and slixmpp 7 years ago

README.md

hybridbot

Hybridbot is a bot that relays messages from a IRC channel to an XMPP MUC and vice versa. First of all, you need to install the Python 3 modules listed on the requirements.txt file, your distribution's package manager might have those available already, so check that first.

It's configuration is simple, you have to create a config file per relay, as this example (remember to change the values):

[Shared]
prefix   = .
owner    = somebody

[IRC]
channel  = #daemons
nick     = pasarela
server   = chat.freenode.net
port     = 6667
auth_bot_name = NickServ
auth_bot_privmsg = identify pasarela password

[XMPP]
jid      = becario@daemons.cf
password = goodpassword
muc      = testeando@salas.daemons.cf
nick     = pasarela

Most of it is pretty obvious, the only two lines that need explanation are the ones in Shared.

The option "prefix" is a string that gets prefixed before the command like "!help" if prefix=!.

The option "owner" is a string that will be printed when issuing the ".help" command. It can be just something like "drymer on XMPP MUC" or just a name, your choice.

To execute it, just do:

python3 hybridbot.py myconfig.ini

Or if the config file is named "config.ini", just do:

python3 hybridbot.py

And on the MUC or the IRC channel, you can issue two commands, ".help" and ".users".

Original project (upstream)

This project is based on drymer's Hybridbot.