signalbot
signalbot copied to clipboard
provide bot.start() without run_forever()
I have other things I do in the main task, and I rather not create another task just for the bot. Is there anyway to have a way to run_forever kwargs that I can skip that command?
For example, in signalbot/bot.py
class SignalBot:
...
def start(run_forever=True):
...
if run_fovever:
self._event_loop.run_forever()
Hi! That's a good point. I might introduce an alternative method instead for this use case instead of adding an argument. I may refactor the bot API a bit and then take this into account.