Skip to content

Conversation

seeyebe
Copy link

@seeyebe seeyebe commented Aug 5, 2025

No description provided.

@bsian03 bsian03 requested a review from Copilot September 27, 2025 22:27
Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR adds support for Discord's Components v2, extending the component type system with new component types and a message flag to indicate v2 usage.

  • Adds new component types: text input, section, text display, thumbnail, media gallery, file, separator, and container
  • Updates documentation across all interaction and messaging classes to reflect the new component types
  • Introduces a new message flag IS_COMPONENTS_V2 to identify messages using the v2 component system

Reviewed Changes

Copilot reviewed 9 out of 11 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
lib/Constants.js Adds new component type constants and IS_COMPONENTS_V2 message flag
lib/structures/UnknownInteraction.js Updates JSDoc comments to include new component types in method documentation
lib/structures/ModalSubmitInteraction.js Updates JSDoc comments to include new component types in method documentation
lib/structures/Message.js Updates JSDoc comments to include new component types in method documentation
lib/structures/MediaChannel.js Updates JSDoc comments to include new component types in method documentation
lib/structures/DMChannel.js Updates JSDoc comments to include new component types in method documentation
lib/structures/ComponentInteraction.js Updates JSDoc comments to include new component types in method documentation
lib/structures/CommandInteraction.js Updates JSDoc comments to include new component types in method documentation
lib/Client.js Updates JSDoc comments to include new component types in method documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants