mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-06-29 19:01:44 +00:00
b1a8b2e5d5
- Added `normalize_command_content` method to `CommandManager` to streamline command prefix handling, ensuring consistent processing of incoming messages. - Updated `format_keyword_response`, `check_keywords`, and `execute` methods to utilize the new normalization logic, reducing redundancy and improving clarity. - Refactored related command classes to remove legacy prefix stripping logic, enhancing maintainability and ensuring all commands adhere to the new normalization approach. - Enhanced tests to cover various scenarios for command prefix handling, ensuring robust functionality across different configurations.