Skip to content

Conversation

@vcarl
Copy link
Member

@vcarl vcarl commented Jan 22, 2026

This introduces a new "native Effect" pathway for authoring Discord commands, re-implementing the Track command to use a pair of Effects in order to prove it out.

Similarly, this brings in a new Effect-based Kysely dependency, providing the same type-safe queries but packaged in Effects instead of Promises.

vcarl and others added 6 commits January 20, 2026 16:51
- Add Effect command types (EffectSlashCommand, EffectMessageComponentCommand, etc.)
- Add isEffectCommand type guard and AnyEffectCommand union
- Update gateway to detect and run Effect handlers via runEffect
- Update withPerf to skip Effect commands (they handle their own spans)
- Convert Track command handlers to native Effect

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@github-actions
Copy link

github-actions bot commented Jan 22, 2026

Preview environment removed

The preview for this PR has been cleaned up.

@vcarl vcarl merged commit 072149f into main Jan 23, 2026
5 checks passed
@vcarl vcarl deleted the vc-effect-restructure branch January 23, 2026 06:11
@vcarl vcarl mentioned this pull request Jan 23, 2026
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