[loop-generated] [refactor] Split discord.py — 668 lines, vendor chat integration #1452

Closed
opened 2026-03-24 18:56:28 +00:00 by Timmy · 0 comments
Owner

Problem

src/integrations/chat_bridge/vendors/discord.py is 668 lines mixing connection management, message handling, and command processing.

Proposed Split

  1. Extract connection/lifecycle into discord_connection.py
  2. Extract message handling into discord_messages.py
  3. Extract command processing into discord_commands.py
  4. Keep discord.py as facade

Acceptance Criteria

  • No single module > 300 lines
  • All existing tests pass
  • No functional changes
## Problem `src/integrations/chat_bridge/vendors/discord.py` is 668 lines mixing connection management, message handling, and command processing. ## Proposed Split 1. Extract connection/lifecycle into `discord_connection.py` 2. Extract message handling into `discord_messages.py` 3. Extract command processing into `discord_commands.py` 4. Keep `discord.py` as facade ## Acceptance Criteria - No single module > 300 lines - All existing tests pass - No functional changes
Timmy closed this issue 2026-03-24 21:53:59 +00:00
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1452