Ensure handling of Discord slash commands#152
Merged
haydenbleasel merged 11 commits intovercel:mainfrom Mar 2, 2026
Merged
Conversation
Contributor
|
@PClmnt is attempting to deploy a commit to the Vercel Team on Vercel. A member of the Team first needs to authorize it. |
PClmnt
commented
Mar 2, 2026
Contributor
|
Hey @PClmnt! Great work on this PR 🙌 I pushed a few commits on top of yours:
Also updated docs. |
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
Author
Thanks so much for taking the time to sort those issues out and getting this merged though, I really appreciate it! All looks good on my side. 🚢🚢 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR updates the Discord Adapter to allow correctly handling of slash commands in Discord. Previously, slash commands would just be ACK'd and no response would take place. Also, Discord slash commands require defer + editing the original interaction response.
This updates the adapter so that:
There's a question open, and i've left a comment in the code about how we might want to handle nested subcommands:
Test plan
Video
Screen.Recording.2026-03-02.at.09.46.52.mov
Screenshots
Resolves #131