Class MaximumAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
Sets a maximum value for this slash command option. Only valid for long or double parameters.
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public class MaximumAttribute : Attribute
- Inheritance
-
objectAttributeMaximumAttribute
Constructors
- MaximumAttribute(double)
Sets a maximum value for this slash command option. Only valid for long or double parameters.
- MaximumAttribute(long)
Sets a maximum value for this slash command option. Only valid for long or double parameters.
Properties
- Value
The value.