class ChatInputCommandStringOption

extends

ChatInputCommandStringOption_base
external
declare class ChatInputCommandStringOption extends ChatInputCommandStringOption_base

A chat input command string option.

Constructors

external
constructor()

Creates a new string option builder.

external
clearMaxLength() : this

Clears the maximum length of this string option.

external
clearMinLength() : this

Clears the minimum length of this string option.

external
setMaxLength(
max: number
) : this

Sets the maximum length of this string option.

external
setMinLength(
min: number
) : this

Sets the minimum length of this string option.