Table of Contents

Constructor MaximumValueAttribute

Namespace
DisCatSharp.ApplicationCommands.Attributes
Assembly
DisCatSharp.ApplicationCommands.dll

MaximumValueAttribute(int)

Sets a maximum value for this slash command option. Only valid for int, long or double parameters.

public MaximumValueAttribute(int value)

Parameters

value int

MaximumValueAttribute(long)

Sets a maximum value for this slash command option. Only valid for int, long or double parameters.

public MaximumValueAttribute(long value)

Parameters

value long

MaximumValueAttribute(double)

Sets a maximum value for this slash command option. Only valid for int, long or double parameters.

public MaximumValueAttribute(double value)

Parameters

value double