Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Jun 12, 2024

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

Lulalaby and others added 30 commits December 16, 2025 18:08
Updated ComponentPaginator and InteractivityExtension to handle Components V2 by checking the UsesCV2 flag and building component layouts accordingly. This ensures correct rendering and interaction handling for both legacy and V2 component structures in paginated messages.
Refactors the stop button logic to properly update the message with disabled components when the stop button is pressed. This ensures the paginator UI is correctly updated and prevents further interaction after stopping.
chore(deps): update nuget packages to 10.0.20
Changed the JsonProperty attribute from "flags" to "product_line" for the ProductLine property to ensure correct serialization and deserialization.
Set default values for SubGroups and Commands lists in GroupTranslator and SubGroupTranslator to empty lists to prevent null reference issues. Also fixed a variable reference in ApplicationCommandWorker to use subgroupAttribute.Name instead of commatt.Name.
Replaces usage of 'commatt.Name' with 'subgroupAttribute.Name' when retrieving subcommand translations to ensure the correct translation is selected.
Updated DiscordClient and DiscordShardedClient to log both the library version and commit hash at startup. Refactored version string handling in DiscordShardedClient to use a public property and removed redundant private fields. Also simplified a null check in DiscordClient.
Replaces duplicate InternalsVisibleTo entry for DisCatSharp.Extensions.Translations with DisCatSharp.Extensions.Translations.Manager in the InternalsVisibleTo.targets file.
chore(deps): update getsentry/action-release action to v3.5.0
fix: potential fix for member parsing causing ac to silently fail
Introduces ModifyComponentById methods to DiscordMessageBuilder and DiscordWebhookBuilder, allowing modification of components by integer ID. Includes recursive helper methods to traverse and modify nested components.
feat: add radio and checkbox group components for modals
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…756)

* feat: add support for invite target user allowlists and job status

Introduces methods and endpoints to manage allowlists of users who can accept invites, including CSV-based and user ID-based updates. Adds the ability to query the processing status of invite target user jobs, updates the invite creation API to support role grants and target user restrictions, and implements supporting types and utilities for these features.

* Rename Values to SelectedValues in checkbox group

Renamed the 'Values' property to 'SelectedValues' in DiscordCheckboxGroupComponent to improve clarity and better reflect its purpose.

* refactor: address code review feedback on invite target users feature (#757)

* Initial plan

* docs: improve documentation and code quality for invite target users

Co-Authored-By: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>

* fix: prevent memory leak by not resetting internally-created MemoryStream

Co-Authored-By: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>

Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>

* Dispose targetUsersCsv streams after use

Added try-catch blocks to dispose the targetUsersCsv streams in CreateChannelInviteAsync and UpdateInviteTargetUsersAsync methods to ensure proper resource cleanup and prevent potential memory leaks.

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
* Initial plan

* Handle user-provided invite streams

Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>

* Preserve caller-owned invite target streams

Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>
* Initial plan

* Respect caller-owned invite CSV streams

Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>

* Simplify null checks per review

Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>

* Dispose only internally-created target user CSV streams

Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: Lulalaby <14029133+Lulalaby@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants