Class MinimumLengthAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Sets a minimum allowed length for this slash command option. Only valid for string parameters.
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public class MinimumLengthAttribute : Attribute
- Inheritance
-
MinimumLengthAttribute
Constructors
- MinimumLengthAttribute(int)
Sets a minimum allowed length for this slash command option. Only valid for string parameters.
Properties
- Value
The value.