Skip to content

Implement SwapCommands (src/commands/SwapCommands.ts) #33

@tldrwtf

Description

@tldrwtf

Description

Implement swap commands: !swapTF, !swapCS with CRITICAL system-sleep removal.

Tasks

  • Implement SwapTFCommand (!swapTF)
  • Implement SwapCSCommand (!swapCS)
  • CRITICAL: Replace ALL system-sleep calls with async delay()
  • Port logic from index.js:471-769

Original Code Reference

  • index.js:471-769 - Swap command handlers
  • Multiple system-sleep occurrences to replace

Critical Notes

MUST replace blocking system-sleep with async delay() from TimeUtils

Files to Modify

  • src/commands/SwapCommands.ts

Dependencies

Priority

P0 - Critical path

Size

XL (16+ hours)

Phase

Phase 4 - Command System

Parent Issue

#10

Metadata

Metadata

Assignees

Labels

criticalCritical path itemphase-4Phase 4: Command Systemtechnical-debtTechnical debt remediation

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions