레퍼런스
classes
SubCommandGroup

@pikokr/command.ts / Exports / SubCommandGroup

Class: SubCommandGroup

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new SubCommandGroup(options, guilds?): SubCommandGroup

Parameters

NameType
optionsOmit<ChatInputApplicationCommandData, "type">
guilds?string[]

Returns

SubCommandGroup

Defined in

src/applicationCommand/group.ts:7 (opens in a new tab)

Properties

guilds

Optional guilds: string[]

Defined in

src/applicationCommand/group.ts:9 (opens in a new tab)


options

options: Omit<ChatInputApplicationCommandData, "type">

Defined in

src/applicationCommand/group.ts:8 (opens in a new tab)

Methods

command

command(options): MethodDecorator

Parameters

NameType
optionsOmit<ApplicationCommandSubGroupData, "type" | "options">

Returns

MethodDecorator

Defined in

src/applicationCommand/group.ts:12 (opens in a new tab)


createChild

createChild(options): SubCommandGroupChild

Parameters

NameType
optionsOmit<ApplicationCommandSubGroupData, "type" | "options">

Returns

SubCommandGroupChild

Defined in

src/applicationCommand/group.ts:21 (opens in a new tab)