Skip to content

feat: Entry Point Command And Launch Activity#3276

Open
Icebluewolf wants to merge 7 commits into
masterfrom
feat/activity-interactions
Open

feat: Entry Point Command And Launch Activity#3276
Icebluewolf wants to merge 7 commits into
masterfrom
feat/activity-interactions

Conversation

@Icebluewolf

@Icebluewolf Icebluewolf commented Jun 14, 2026

Copy link
Copy Markdown
Member

Summary

Adds support for entry point command and launching activities. It also adds support for interaction response values relating to activities. This change makes it possible to have a entry point command in your bot with auto-syncing on. Previously you would have to set delete_existing=False in a manual call to sync_commands. However, at the time of writing there is a bug that prevents this method from working.

I originally intended to create a entry point command "passthrough" attribute for bots that would automatically forward the entry point command specifically, however due to some of the messiness of the current structure of application commands I would prefer to clean them up and implement more robust rules for automatically syncing commands.

Information

  • 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, typehinting,
    examples, ...).

Checklist

  • I have searched the open pull requests for duplicates.
  • If code changes were made then they have been tested.
    • I have updated the documentation to reflect the changes.
  • If type: ignore comments were used, a comment is also left explaining why.
  • I have updated the changelog to include these changes.
  • AI Usage has been disclosed.
    • If AI has been used, I understand fully what the code does

@Icebluewolf Icebluewolf requested review from a team and Lulalaby June 14, 2026 23:18
@Icebluewolf Icebluewolf requested a review from Lumabots June 14, 2026 23:18
@github-project-automation github-project-automation Bot moved this to Todo in Pycord Jun 14, 2026
@pycord-app

pycord-app Bot commented Jun 14, 2026

Copy link
Copy Markdown

Thanks for opening this pull request!
Please make sure you have read the Contributing Guidelines and Code of Conduct.

This pull request can be checked-out with:

git fetch origin pull/3276/head:pr-3276
git checkout pr-3276

This pull request can be installed with:

pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3276/head

@Icebluewolf Icebluewolf changed the title Feat/activity interactions feat: Entry Point Command And Launch Activity Jun 14, 2026
@Icebluewolf Icebluewolf requested a review from a team as a code owner June 14, 2026 23:24
@Icebluewolf Icebluewolf requested review from a team, JustaSqu1d and Soheab June 14, 2026 23:24
Comment thread discord/commands/core.py
EntryPointHandler,
)
from ..enums import Enum as DiscordEnum
from ..enums import (

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combine imports

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

isort seems to disagree. Might be worth looking into enabling this in py-cords config https://isort.readthedocs.io/en/latest/configuration/options.html#combine-as-imports

@Paillat-dev Paillat-dev added this to the 2.9.0rc1 milestone Jun 15, 2026
@Paillat-dev

Copy link
Copy Markdown
Member

Changelog needs the PR link

@Paillat-dev Paillat-dev added hold: documentation This pull request is missing documentation hold: testing This pull request requires further testing labels Jun 15, 2026
@Paillat-dev

Copy link
Copy Markdown
Member

Also, maybe we could have an example for this ? That would need to be end to end though ideally. TBD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hold: documentation This pull request is missing documentation hold: testing This pull request requires further testing PA: All Contributors pending PA: Maintainers pending

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants