Skip to content

feat(interactions): entry point commands - #1570

Open
shiftinv wants to merge 13 commits into
masterfrom
feat/entry-point-commands
Open

feat(interactions): entry point commands#1570
shiftinv wants to merge 13 commits into
masterfrom
feat/entry-point-commands

Conversation

@shiftinv

@shiftinv shiftinv commented Jul 17, 2026

Copy link
Copy Markdown
Member

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_command event listener just fine, in any case.

Checklist

  • If code changes were made, then they have been tested
    • I have updated the documentation to reflect the changes
    • I have formatted the code properly by running uv run nox -s lint
    • I have type-checked the code by running uv run nox -s pyright
  • This PR fixes an issue
  • This PR adds something new (e.g. new method or parameters)
  • This PR is a breaking change (e.g. methods or parameters removed/renamed)
  • This PR is not a code change (e.g. documentation, README, ...)

@shiftinv shiftinv added this to the disnake v2.13 milestone Jul 17, 2026
@shiftinv shiftinv added the t: enhancement New feature label Jul 17, 2026
@shiftinv shiftinv added this to disnake Jul 17, 2026
@shiftinv shiftinv added the t: api support Support of Discord API features label Jul 17, 2026
@github-project-automation github-project-automation Bot moved this to Todo in disnake Jul 17, 2026
@read-the-docs-community

read-the-docs-community Bot commented Jul 17, 2026

Copy link
Copy Markdown

Documentation build overview

📚 disnake | 🛠️ Build #33755556 | 📁 Comparing e1d611d against latest (16641e9)

  🔍 Preview build  

49 files changed · ± 49 modified

± Modified

@shiftinv shiftinv added the s: needs review Issue/PR is awaiting reviews label Jul 17, 2026
@shiftinv
shiftinv changed the base branch from master to feat/interaction-callback-data July 18, 2026 15:37
@shiftinv
shiftinv force-pushed the feat/entry-point-commands branch from e95ca74 to 5161cfd Compare July 18, 2026 15:39
@shiftinv shiftinv added the s: blocked Issue/PR is blocked by other issues label Jul 18, 2026
Base automatically changed from feat/interaction-callback-data to master July 25, 2026 10:30
@shiftinv
shiftinv force-pushed the feat/entry-point-commands branch from 5161cfd to e1d611d Compare July 25, 2026 10:32
@shiftinv shiftinv removed the s: blocked Issue/PR is blocked by other issues label Jul 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

s: needs review Issue/PR is awaiting reviews t: api support Support of Discord API features t: enhancement New feature

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

1 participant