Open archangelic opened 5 years ago
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.
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.
Some users would like the ability to simultaneously have one bot connect to multiple servers.