Remove dead code from living files

Delete unused CommandResult class from commands/base.py and unused
format_dm_response method from responder.py.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Ubuntu 2026-02-24 00:27:49 +00:00
commit 94d27a634e
2 changed files with 0 additions and 33 deletions

View file

@ -50,23 +50,3 @@ class CommandHandler(ABC):
Response string to send back Response string to send back
""" """
pass pass
class CommandResult:
"""Result from command execution."""
def __init__(
self,
response: str,
success: bool = True,
suppress_history: bool = True,
):
"""
Args:
response: Text response to send
success: Whether command succeeded
suppress_history: If True, don't add to conversation history
"""
self.response = response
self.success = success
self.suppress_history = suppress_history

View file

@ -138,19 +138,6 @@ class Responder:
return 0 return 0
def format_dm_response(self, text: str, sender_name: str) -> str:
"""Format response for DM context.
Args:
text: Response text
sender_name: Name of recipient
Returns:
Formatted response (currently unchanged)
"""
# Could prefix with name or add other formatting
return text
def format_channel_response( def format_channel_response(
self, text: str, sender_name: str, mention_sender: bool = False self, text: str, sender_name: str, mention_sender: bool = False
) -> str: ) -> str: