gawel / irc3

plugable irc client library based on python's asyncio with DCC and SASL support
https://irc3.readthedocs.io/
MIT License
208 stars 46 forks source link

Run in a specific event loop #184

Closed Vinchethescript closed 3 years ago

Vinchethescript commented 3 years ago

Hello! I would like to run this IRC client with my Discord bot to make a brigde. I checked the code and it looks like there isn't any way to make the client run in the same loop as the bot. Did I check wrong? If yes, how can I run them in the same loop?

gawel commented 3 years ago

Hi, it should work. There's many example on how to run multiple bot instance using one loop https://github.com/gawel/irc3/blob/master/examples/benches.py

I guess from_argv is not for you but check from_config

Vinchethescript commented 3 years ago

Okay, thank you.