Make ParameterChoice constructor public (#3169)
This commit is contained in:
@@ -15,7 +15,12 @@ namespace Discord.Interactions
|
||||
/// </summary>
|
||||
public object Value { get; }
|
||||
|
||||
internal ParameterChoice(string name, object value)
|
||||
/// <summary>
|
||||
/// Initializes a new <see cref="ParameterChoice"/>.
|
||||
/// </summary>
|
||||
/// <param name="name">Name of this choice.</param>
|
||||
/// <param name="value">Value of this choice.</param>
|
||||
public ParameterChoice(string name, object value)
|
||||
{
|
||||
Name = name;
|
||||
Value = value;
|
||||
|
||||
Reference in New Issue
Block a user