Skip to content

Commit 9cb6ffd

Browse files
authored
Make ParameterChoice constructor public (#3169)
1 parent 958d286 commit 9cb6ffd

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

src/Discord.Net.Interactions/Entities/ParameterChoice.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ public class ParameterChoice
1515
/// </summary>
1616
public object Value { get; }
1717

18-
internal ParameterChoice(string name, object value)
18+
/// <summary>
19+
/// Initializes a new <see cref="ParameterChoice"/>.
20+
/// </summary>
21+
/// <param name="name">Name of this choice.</param>
22+
/// <param name="value">Value of this choice.</param>
23+
public ParameterChoice(string name, object value)
1924
{
2025
Name = name;
2126
Value = value;

0 commit comments

Comments
 (0)