Files
meshcore-bot/modules/commands/test_command.py
T
2025-09-04 15:33:51 -07:00

23 lines
688 B
Python

#!/usr/bin/env python3
"""
Test command for the MeshCore Bot
Handles the 'test' keyword response
"""
from .base_command import BaseCommand
from ..models import MeshMessage
class TestCommand(BaseCommand):
"""Handles the test command"""
def get_help_text(self) -> str:
return "Responds to 'test' with connection info."
async def execute(self, message: MeshMessage) -> bool:
"""Execute the test command"""
# The test command is handled by keyword matching in the command manager
# This is just a placeholder for future functionality
self.logger.debug("Test command executed (handled by keyword matching)")
return True