Skip to content

Make MessageComponent.Empty public#3139

Merged
Misha-133 merged 1 commit into
discord-net:devfrom
d4n3436:fix-empty-component-visibility
May 28, 2025
Merged

Make MessageComponent.Empty public#3139
Misha-133 merged 1 commit into
discord-net:devfrom
d4n3436:fix-empty-component-visibility

Conversation

@d4n3436

@d4n3436 d4n3436 commented May 28, 2025

Copy link
Copy Markdown
Contributor

Description

This PR changes the access modifier of MessageComponent.Empty so it becomes public (no idea why it wasn't in the first place)

Changes

  • Changed access modifier of MessageComponent.Empty to public

@Misha-133 Misha-133 enabled auto-merge (squash) May 28, 2025 21:41

@Misha-133 Misha-133 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

You could set components to null to remove then, but I guess a null-object might come a nice addition

@Misha-133 Misha-133 merged commit 35d94ca into discord-net:dev May 28, 2025
2 checks passed
@d4n3436 d4n3436 deleted the fix-empty-component-visibility branch May 29, 2025 17:18
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