SlashCommandOptions

Interface

PropertyTypeDescription

name

string

The name of the option.

Optional:

description

string

The description of the option.

Optional:

required

boolean

If true, the user need to specify a value in the option.

Optional:

type

number

The value of Application Command Option Type from Discord API. You can found it here.

Optional:

Last updated