mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-09-13 19:35:49 +00:00
This commit introduces asynchronous handling for response formatting in the command manager, allowing network-backed filters to resolve off-thread without blocking the event loop. Key changes include: - Added `check_keywords_async` method to `CommandManager` to handle keyword checks asynchronously. - Updated `TestCommand` and `PathCommand` to utilize the new async formatting capabilities. - Enhanced `response_template` with `format_piped_template_async` for improved performance during template rendering. - Updated documentation to reflect support for async response formatting in both `path`'s `reply_prefix` and the test command's `response_format`. This change improves responsiveness and reduces potential delays caused by synchronous network calls during message processing.