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

Eliminate the waste of checking arguments under the same conditions. #3027

Merged
merged 1 commit into from
Nov 16, 2024

Conversation

xin9le
Copy link
Contributor

@xin9le xin9le commented Nov 16, 2024

Description

This Pull-Request provides improvements that eliminate the waste of checking arguments under the same conditions. The exact same semantic argument check is performed directly below the deleted line.

Changes

  • Remove duplicate argument check in the DiscordRestApiClient.CreateInteractionFollowupMessageAsync()

Related Issues

  • N/A

@Misha-133 Misha-133 enabled auto-merge (squash) November 16, 2024 15:15
@Misha-133 Misha-133 merged commit f644e68 into discord-net:dev Nov 16, 2024
2 checks passed
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.

2 participants