Skip to content

Commit 21fb8ee

Browse files
committed
add min/max values parameters to ModalChannelSelectAttribute
1 parent cef3aa0 commit 21fb8ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Discord.Net.Interactions/Attributes/Modals/ModalChannelSelectAttribute.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ public class ModalChannelSelectAttribute : ModalSelectComponentAttribute
1212
/// Create a new <see cref="ModalChannelSelectAttribute"/>.
1313
/// </summary>
1414
/// <param name="customId">Custom ID of the channel select component.</param>
15-
public ModalChannelSelectAttribute(string customId) : base(customId) { }
15+
public ModalChannelSelectAttribute(string customId, int minValues = 1, int maxValues = 1) : base(customId, minValues, maxValues) { }
1616
}

0 commit comments

Comments
 (0)