feat: Entry Point Command And Launch Activity#3276
Open
Icebluewolf wants to merge 7 commits into
Open
Conversation
|
Thanks for opening this pull request! This pull request can be checked-out with: git fetch origin pull/3276/head:pr-3276
git checkout pr-3276This pull request can be installed with: pip install git+https://github.com/Pycord-Development/pycord@refs/pull/3276/head |
…d-Development/pycord into feat/activity-interactions
Paillat-dev
reviewed
Jun 15, 2026
| EntryPointHandler, | ||
| ) | ||
| from ..enums import Enum as DiscordEnum | ||
| from ..enums import ( |
Member
Author
There was a problem hiding this comment.
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
Member
|
Changelog needs the PR link |
Member
|
Also, maybe we could have an example for this ? That would need to be end to end though ideally. TBD |
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
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=Falsein a manual call tosync_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
examples, ...).
Checklist
type: ignorecomments were used, a comment is also left explaining why.