Fixed a bug when creating a SelectMenuBuilder from a SelectMenuComponent incorrectly set the CustomId (#2862)

This commit is contained in:
Proddy
2024-02-24 17:32:18 +00:00
committed by GitHub
parent d0e9c8bd97
commit 6870ac5386

View File

@@ -925,7 +925,7 @@ namespace Discord
public SelectMenuBuilder(SelectMenuComponent selectMenu)
{
Placeholder = selectMenu.Placeholder;
CustomId = selectMenu.Placeholder;
CustomId = selectMenu.CustomId;
MaxValues = selectMenu.MaxValues;
MinValues = selectMenu.MinValues;
IsDisabled = selectMenu.IsDisabled;