forked from Aiko-IT-Systems/DisCatSharp
-
Notifications
You must be signed in to change notification settings - Fork 0
[pull] main from Aiko-IT-Systems:main #14
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
Open
pull
wants to merge
749
commits into
xMaxximum:main
Choose a base branch
from
Aiko-IT-Systems:main
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
7d9566a to
fc7a419
Compare
4927793 to
e6144c0
Compare
5317302 to
88f6d58
Compare
3359c0b to
e95f028
Compare
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
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.
See Commits and Changes for more details.
Created by
pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )