Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: components v2 #2707

Draft
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

NeloBlivion
Copy link
Member

@NeloBlivion NeloBlivion commented Feb 6, 2025

Summary

Soon

*Edit by Lala: Temporary reference: https://github.com/Lulalaby/discord-api-docs/blob/comp_v2/docs/interactions/Message_Components.md#v2-components

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.

Reference:

message-components-v2-text-display
message-components-v2-container
message-components-v2-file
message-components-v2-media-gallery
message-components-v2-section
message-components-v2-separator

@Lulalaby Lulalaby added discord limitation Limitation imposed by discord priority: medium Medium Priority status: in progress Work in Progess feature Implements a feature upcoming discord feature Involves a feature not yet fully released by Discord labels Feb 6, 2025
@Lulalaby Lulalaby added this to the v2.7 milestone Feb 6, 2025
discord/flags.py Outdated Show resolved Hide resolved
Component = Union[ActionRow, ButtonComponent, SelectMenu, InputText]


ContainerComponents = Union[
Copy link
Member

Choose a reason for hiding this comment

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

Make sure this isn't confused with the literal container component

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discord limitation Limitation imposed by discord feature Implements a feature priority: medium Medium Priority status: in progress Work in Progess upcoming discord feature Involves a feature not yet fully released by Discord
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

4 participants