Class MaximumAttribute
- Namespace
- DSharpPlus.SlashCommands
- Assembly
- DSharpPlus.SlashCommands.dll
[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public class MaximumAttribute : Attribute
- Inheritance
-
MaximumAttribute
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.