Fix missing SelectMenu Type, ChannelTypes, DefaultValues in ComponentBuilder.AddComponent (#3186)

This commit is contained in:
OMEGA3065
2025-09-13 19:16:02 +02:00
committed by GitHub
parent 927c9053e4
commit 8883596c31
2 changed files with 2 additions and 2 deletions

View File

@@ -36,7 +36,7 @@ namespace Discord.Net.Converters
case ComponentType.MentionableSelect:
case ComponentType.RoleSelect:
case ComponentType.UserSelect:
messageComponent = new API.SelectMenuComponent();
messageComponent = new API.SelectMenuComponent(){Type = (ComponentType)typeProperty};
break;
case ComponentType.TextInput:
messageComponent = new API.TextInputComponent();