Skip to content

Conversation

OMEGA3065
Copy link
Contributor

Description

Fixes a bug where doing ComponentBuilder:AddComponent (called by ComponentBuilder:FromComponents which is in turn used when doing interaction.ModifyOriginalResponseAsync) will void some of the properties of a SelectMenu.

Changes

  • Added some missing SelectMenu properties in the ComponentBuilder:AddComponent that would result in the new component missing some key values, like for instance the selection of whether it is a UserSelect, MentionSelect or other.
  • Added the Type to an empty constructor in MessageComponentConverter.ReadJson since it would be expected that a UserSelect isn't the same thing as a ChannelSelect.

Related Issues

None, I did make a post to the #help channel in the discord, but I got no response back within the first 24 hrs.

@Misha-133 Misha-133 enabled auto-merge (squash) September 13, 2025 17:14
@Misha-133 Misha-133 merged commit 8883596 into discord-net:dev Sep 13, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants