Skip to content

fix(discord): handle interactions in gateway-only mode#490

Merged
dancer merged 3 commits into
mainfrom
josh/discord-gateway-interactions
May 12, 2026
Merged

fix(discord): handle interactions in gateway-only mode#490
dancer merged 3 commits into
mainfrom
josh/discord-gateway-interactions

Conversation

@dancer
Copy link
Copy Markdown
Collaborator

@dancer dancer commented May 12, 2026

summary

fixes #343

fix Discord gateway-only mode so InteractionCreate events are handled directly when no interactions endpoint is configured

slash commands now defer the gateway interaction and route through the existing slash command handler path, and button interactions defer updates before routing through the existing action handler path

also clarifies in the Discord README that Discord sends interactions through either the Gateway or an Interactions Endpoint URL, not both

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
chat-sdk-nextjs-chat Ready Ready Preview, Comment May 12, 2026 3:24am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
chat Ignored Ignored May 12, 2026 3:24am

@dancer dancer marked this pull request as ready for review May 12, 2026 03:31
@dancer dancer requested a review from a team as a code owner May 12, 2026 03:31
@dancer dancer merged commit b9b17cd into main May 12, 2026
17 checks passed
@dancer dancer deleted the josh/discord-gateway-interactions branch May 12, 2026 05:17
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.

Interaction events (e.g. slash commands) not handled when using Discord adapter in gateway only mode

2 participants