Command.TS
GitHubGitHub (opens in a new tab)DiscordDiscord (opens in a new tab)
  • 소개
  • 튜토리얼
    • 시작하기
    • 모듈 작성하기
    • README
      • ApplicationCommandComponent
      • ApplicationCommandExtension
      • BaseComponent
      • CommandClient
      • ComponentArgument
      • ComponentArgumentDecorator
      • ConverterComponent
      • Extension
      • ListenerComponent
      • OwnerOnlyError
      • Registry
      • SubCommandGroup
      • SubCommandGroupChild
      • TextCommandComponent
      • TextCommandRestOption
    • modules

On This Page

  • Table of contents
  • Constructors
  • Properties
  • Constructors
  • constructor
  • Parameters
  • Returns
  • Defined in
  • Properties
  • decorators
  • Defined in
  • type
  • Defined in
Question? Give us feedback → (opens in a new tab)Edit this page
레퍼런스
classes
ComponentArgument

@pikokr/command.ts / Exports / ComponentArgument

Class: ComponentArgument

Table of contents

Constructors

  • constructor

Properties

  • decorators
  • type

Constructors

constructor

• new ComponentArgument(type): ComponentArgument

Parameters

NameType
typeunknown

Returns

ComponentArgument

Defined in

src/core/components/ComponentArgument.ts:6 (opens in a new tab)

Properties

decorators

• decorators: ComponentArgumentDecorator<unknown>[] = []

Defined in

src/core/components/ComponentArgument.ts:4 (opens in a new tab)


type

• type: unknown

Defined in

src/core/components/ComponentArgument.ts:6 (opens in a new tab)

CommandClientComponentArgumentDecorator

Command.TS