Table of Contents

Class MinimumAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

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

[AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
public class MinimumAttribute : Attribute
Inheritance
MinimumAttribute

Constructors

MinimumAttribute(double)

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

MinimumAttribute(long)

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

Properties

Value

The value.