Constructor MaximumLengthAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
MaximumLengthAttribute(int)
Sets a maximum allowed length for this slash command option. Only valid for string parameters.
public MaximumLengthAttribute(int value)
Parameters
value
int