Table of Contents

Class MinimumAttribute

Namespace
DSharpPlus.SlashCommands
Assembly
DSharpPlus.SlashCommands.dll

Sets a minimum value for this slash command option. Only valid for long or double parameters.

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

Constructors

MinimumAttribute(double)

Sets a minimum value for this slash command option. Only valid for long or double parameters.

MinimumAttribute(long)

Sets a minimum value for this slash command option. Only valid for long or double parameters.

Properties

Value

The value.