pinhook icon indicating copy to clipboard operation
pinhook copied to clipboard

Multi-Server configuration for bot

Open archangelic opened this issue 5 years ago • 2 comments

Some users would like the ability to simultaneously have one bot connect to multiple servers.

archangelic avatar Mar 06 '19 22:03 archangelic

I've investigated this for both the currently used irc library and a potential alternative called pydle and at least for these two libraries it seems very difficult to pull this off without spawning a seperate process per client using multiprocessing and passing messages between.

I think you would then end up with some like what what @lucidiot described in https://github.com/archangelic/pinhook/issues/31 if I understood correctly.

ixxie avatar Mar 07 '19 20:03 ixxie

Possibly we can have another class called MultiServerBot that does this.

What #31 is talking about is having a core plugin layer that you can create communication layers for. This issue is definitely irc specific.

archangelic avatar Mar 09 '19 01:03 archangelic