errbotio / errbot

Errbot is a chatbot, a daemon that connects to your favorite chat service and bring your tools and some fun into the conversation.
http://errbot.io
GNU General Public License v3.0
3.13k stars 616 forks source link

Support multiple backends in one instance #1137

Open jayvdb opened 6 years ago

jayvdb commented 6 years ago

I am...

Issue description

It should be possible to have one bot working on multiple backends concurrently. Obviously not an easy task, but increasingly important that teams operate in multiple chat systems, bridges often confuse bots, and running multiple instances for each backend is problematic if there is any state in the bot.

SirEdvin commented 6 years ago

@jayvdb Why you can't sync bot instances with help of storage? For example, with redis storage.

fernand0 commented 6 years ago

It would be a nice option. Nevertheless there was a poll https://plus.google.com/+ErrbotNet/posts/3oDqwKXzdCa and it was not very popular. As I'm a believer of this multchannel question I'm thinking about the possibility of having several bots in different backends and having some communication among them in some common channel.

jayvdb commented 6 years ago

Hi @SirEdvin , for smallish communities, having one bot per chat system , and then adding redis , is extra stuff to manage and/or pay for. errbot already has basic bridging capabilities from what I've read (never tried it), so it seems like a natural application of the "0, 1, many rule" that errbot's internal system should be able to handle this.

takuan-osho commented 4 years ago

Is there any progress on it? I'm interested in this issue's proposal.

If possible, I hope errbot would support multiple backends in one instance.

sijis commented 4 years ago

There has been no development effort towards this.

We will gladly accept PRs toward this.

poVoq commented 1 year ago

@jayvdb Why you can't sync bot instances with help of storage? For example, with redis storage.

Is there a guide somewhere for this? What would be the limitations of such an approach?

CorvusCorax commented 5 months ago

This would be really useful. I am having issues with the mattermost backend. The bot stops responding in chat, but there's nothing in the log. Having a second backend at the same time (for example the text backend) would allow for debugging whats wrong or restarting the bot. as of now I can only kill it, which doesn't help me find out what causes this.