archangelic / pinhook

the pluggable python framework for IRC bots and Twitch bots
https://archangelic.github.io/pinhook/
MIT License
31 stars 4 forks source link

Multi-Server configuration for bot #64

Open archangelic opened 5 years ago

archangelic commented 5 years ago

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

ixxie commented 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.

archangelic commented 5 years ago

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.