Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
class OptionBuilderLimitedValues
extends OptionBuilder
import { OptionBuilderLimitedValues } from "https://deno.land/x/oasis@2.1.0/packages/builders/slash/SlashCommandOption.ts";

Constructors

new
OptionBuilderLimitedValues(
type?: ApplicationCommandOptionTypes.Integer | ApplicationCommandOptionTypes.Number,
name?: string,
description?: string,
)

Properties

optional
choices: ChoiceBuilder[]
optional
maxValue: number
optional
minValue: number