mirror of
https://github.com/agessaman/meshcore-bot.git
synced 2026-05-25 00:35:18 +00:00
ac6c9d8fa0
- Updated the `get_general_help` method in `CommandManager` to accept a `message` parameter, allowing for context-aware help responses based on the message's channel. - Modified the `get_available_commands_list` method in `HelpCommand` to filter commands based on the provided message, ensuring only valid commands for the channel are listed. - Introduced a new method `_is_command_valid_for_channel` to check command validity against the message's channel context, improving command management and user experience.