Table of Contents

Class MaximumAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

Sets a maximum value for this slash command option. Only valid for Int64 or Double parameters.

[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 Int64 or Double parameters.

MaximumAttribute(long)

Sets a maximum value for this slash command option. Only valid for Int64 or Double parameters.

Properties

Value

The value.