Skip to content

Commit

Permalink
Fixed a bug when creating a SelectMenuBuilder from a `SelectMenuCom…
Browse files Browse the repository at this point in the history
…ponent` incorrectly set the `CustomId` (#2862)
  • Loading branch information
Hampo authored Feb 24, 2024
1 parent d0e9c8b commit 6870ac5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ public SelectMenuBuilder() { }
public SelectMenuBuilder(SelectMenuComponent selectMenu)
{
Placeholder = selectMenu.Placeholder;
CustomId = selectMenu.Placeholder;
CustomId = selectMenu.CustomId;
MaxValues = selectMenu.MaxValues;
MinValues = selectMenu.MinValues;
IsDisabled = selectMenu.IsDisabled;
Expand Down

0 comments on commit 6870ac5

Please sign in to comment.