Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Argument

The Argument used in the slash command.

Hierarchy

  • Argument

Index

Constructors

constructor

  • new Argument(data: ArgumentType): Argument

Properties

description

description: string

name

name: string

Optional required

required?: boolean

type

type: CommandOptionTypes

Methods

toOption

  • toOption(): ApplicationCommandOption