diff --git a/src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs b/src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs
index c12b9ffa3..b7ef75f92 100644
--- a/src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs
+++ b/src/Discord.Net.Core/Entities/Interactions/Message Components/ComponentBuilder.cs
@@ -76,7 +76,7 @@ namespace Discord
AddComponent(cmp, row);
break;
case SelectMenuComponent menu:
- WithSelectMenu(menu.Placeholder, menu.CustomId, menu.Options.Select(x => new SelectMenuOptionBuilder(x.Label, x.Value, x.Description, x.Emote, x.IsDefault)).ToList(), menu.Placeholder, menu.MinValues, menu.MaxValues, menu.Disabled, row);
+ WithSelectMenu(menu.Placeholder, menu.CustomId, menu.Options.Select(x => new SelectMenuOptionBuilder(x.Label, x.Value, x.Description, x.Emote, x.IsDefault)).ToList(), menu.Placeholder, menu.MinValues, menu.MaxValues, menu.IsDisabled, row);
break;
}
}
@@ -740,7 +740,7 @@ namespace Discord
CustomId = selectMenu.Placeholder;
MaxValues = selectMenu.MaxValues;
MinValues = selectMenu.MinValues;
- Disabled = selectMenu.Disabled;
+ Disabled = selectMenu.IsDisabled;
Options = selectMenu.Options?
.Select(x => new SelectMenuOptionBuilder(x.Label, x.Value, x.Description, x.Emote, x.IsDefault))
.ToList();
diff --git a/src/Discord.Net.Core/Entities/Interactions/Message Components/MessageComponent.cs b/src/Discord.Net.Core/Entities/Interactions/Message Components/MessageComponent.cs
index c1c8b2817..eb37a57b8 100644
--- a/src/Discord.Net.Core/Entities/Interactions/Message Components/MessageComponent.cs
+++ b/src/Discord.Net.Core/Entities/Interactions/Message Components/MessageComponent.cs
@@ -12,7 +12,7 @@ namespace Discord
public class MessageComponent
{
///
- /// The components to be used in a message.
+ /// Gets the components to be used in a message.
///
public IReadOnlyCollection Components { get; }
diff --git a/src/Discord.Net.Core/Entities/Interactions/Message Components/SelectMenuComponent.cs b/src/Discord.Net.Core/Entities/Interactions/Message Components/SelectMenuComponent.cs
index a7f1eec39..db7936365 100644
--- a/src/Discord.Net.Core/Entities/Interactions/Message Components/SelectMenuComponent.cs
+++ b/src/Discord.Net.Core/Entities/Interactions/Message Components/SelectMenuComponent.cs
@@ -15,34 +15,34 @@ namespace Discord
public ComponentType Type => ComponentType.SelectMenu;
///
- /// The custom id of this Select menu that will be sent with a .
+ /// Gets the custom id of this Select menu that will be sent with a .
///
public string CustomId { get; }
///
- /// The menus options to select from.
+ /// Gets the menus options to select from.
///
public IReadOnlyCollection Options { get; }
///
- /// A custom placeholder text if nothing is selected, max 100 characters.
+ /// Gets the custom placeholder text if nothing is selected.
///
public string Placeholder { get; }
///
- /// The minimum number of items that must be chosen; default 1, min 0, max 25
+ /// Gets the minimum number of items that must be chosen.
///
public int MinValues { get; }
///
- /// The maximum number of items that can be chosen; default 1, max 25
+ /// Gets the maximum number of items that can be chosen.
///
public int MaxValues { get; }
///
- /// Whether this menu is disabled or not.
+ /// Gets whether this menu is disabled or not.
///
- public bool Disabled { get; }
+ public bool IsDisabled { get; }
///
/// Turns this select menu into a builder.
@@ -57,7 +57,7 @@ namespace Discord
Placeholder,
MaxValues,
MinValues,
- Disabled);
+ IsDisabled);
internal SelectMenuComponent(string customId, List options, string placeholder, int minValues, int maxValues, bool disabled)
{
@@ -66,7 +66,7 @@ namespace Discord
Placeholder = placeholder;
MinValues = minValues;
MaxValues = maxValues;
- Disabled = disabled;
+ IsDisabled = disabled;
}
}
}
diff --git a/src/Discord.Net.Rest/API/Common/SelectMenuComponent.cs b/src/Discord.Net.Rest/API/Common/SelectMenuComponent.cs
index 5476565dc..16daa66ab 100644
--- a/src/Discord.Net.Rest/API/Common/SelectMenuComponent.cs
+++ b/src/Discord.Net.Rest/API/Common/SelectMenuComponent.cs
@@ -40,7 +40,7 @@ namespace Discord.API
Placeholder = component.Placeholder;
MinValues = component.MinValues;
MaxValues = component.MaxValues;
- Disabled = component.Disabled;
+ Disabled = component.IsDisabled;
}
}
}