mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-04-16 20:35:40 +00:00
- Updated `config.ini.example` to introduce the `respond_to_mentions` setting, allowing configuration of how the bot responds to mentions in channel messages. - Refactored `MessageHandler` to implement logic for handling mentions based on the new configuration, including stripping mentions when appropriate. - Added `cleanup_message_for_matching` method in `BaseCommand` to streamline message processing and mention validation. - Enhanced various command classes to utilize the new cleanup method for consistent mention handling. - Introduced tests to validate the behavior of the new mention handling logic across different configurations.
174 KiB
174 KiB