Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Pass the sent_message to timeout_handler in ask. #58

Open
Yatall opened this issue Jul 12, 2024 · 0 comments
Open

[Feature Request] Pass the sent_message to timeout_handler in ask. #58

Yatall opened this issue Jul 12, 2024 · 0 comments

Comments

@Yatall
Copy link

Yatall commented Jul 12, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant