fixed recursion when response format is not configured

This commit is contained in:
agessaman
2025-11-11 08:57:30 -08:00
parent fd7f64c346
commit 237ca5a176
+3 -2
View File
@@ -266,5 +266,6 @@ class BaseCommand(ABC):
response = self.format_response(message, response_format)
return await self.send_response(message, response)
else:
# Fall back to execute method
return await self.execute(message)
# No response format configured - don't respond
# This prevents recursion and allows disabling commands by commenting them out in config
return False