class ChatInputCommandStringOption

extends

ChatInputCommandStringOption_base
export declare class ChatInputCommandStringOption extends ChatInputCommandStringOption_base

A chat input command string option.

Constructors

constructor()

Creates a new string option builder.

clearMaxLength() : this

Clears the maximum length of this string option.

clearMinLength() : this

Clears the minimum length of this string option.

setMaxLength(
max: number
) : this

Sets the maximum length of this string option.

setMinLength(
min: number
) : this

Sets the minimum length of this string option.