feat(interactions): entry point commands - #1570
Open
shiftinv wants to merge 13 commits into
Open
Conversation
shiftinv
force-pushed
the
feat/entry-point-commands
branch
from
July 18, 2026 15:39
e95ca74 to
5161cfd
Compare
shiftinv
force-pushed
the
feat/entry-point-commands
branch
from
July 25, 2026 10:32
5161cfd to
e1d611d
Compare
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.
Summary
See discord/discord-api-docs@8bc883c.
Depends on #1571.
This implements the models/enums required to work with entry point application commands in the API, and adds
InteractionResponse.launch_activity, which can be used with any non-ping/autocomplete interaction.There isn't much of a point in attempting to integrate this into the existing command sync mechanisms more than the current state (i.e. simply keep existing entry point commands, unchanged) or into the ext.commands framework - these commands don't necessarily send an interaction to the app in the first place (see
ApplicationCommandHandlerType.discord), and managing them through the bulk update endpoint isn't trivial (discord/discord-api-docs#7212).Considering that all of this is only relevant to apps with embedded activities, it is already barely in scope for the library anyway. c:
Interactions triggered by this type of command can be handled through the
application_commandevent listener just fine, in any case.Checklist
uv run nox -s lintuv run nox -s pyright