|
sent_message = await self.send_message(chat_to_ask, text, *args, **kwargs) |
In the ask method, a new message is sent. If it times out, the config.timeout_handler handles cleanup but doesn’t receive the sent_message as an argument. I think, adding this would be helpful for cleanup natively.
pyromod/pyromod/listen/client.py
Line 94 in faf1a6a
In the
askmethod, a new message is sent. If it times out, the config.timeout_handler handles cleanup but doesn’t receive thesent_messageas an argument. I think, adding this would be helpful for cleanup natively.