Skip to content

refactor(discord): unify DM command auth handling#1399

Merged
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/75596e937
Mar 15, 2026
Merged

refactor(discord): unify DM command auth handling#1399
alexey-pelykh merged 1 commit intomainfrom
cherry-pick/75596e937

Conversation

@alexey-pelykh
Copy link
Copy Markdown

Cherry-pick of upstream 75596e937.

Author: steipete

Summary

  • Extract DM command decision logic into a dedicated dm-command-decision module
  • Separate the "should we handle this DM command?" decision from the auth gating and message preflight
  • Simplifies message-handler.preflight.ts and native-command.ts by delegating the DM command routing decision

Depends on #1398

🤖 Generated with Claude Code

@alexey-pelykh alexey-pelykh merged commit 62ca1aa into main Mar 15, 2026
7 checks passed
@alexey-pelykh alexey-pelykh deleted the cherry-pick/75596e937 branch March 15, 2026 08:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants