@pikokr/command.ts / Exports / SubCommandGroup
Class: SubCommandGroup
Table of contents
Constructors
Properties
Methods
Constructors
constructor
• new SubCommandGroup(options, guilds?): SubCommandGroup
Parameters
| Name | Type |
|---|---|
options | Omit<ChatInputApplicationCommandData, "type"> |
guilds? | string[] |
Returns
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
| Name | Type |
|---|---|
options | Omit<ApplicationCommandSubGroupData, "type" | "options"> |
Returns
MethodDecorator
Defined in
src/applicationCommand/group.ts:12 (opens in a new tab)
createChild
▸ createChild(options): SubCommandGroupChild
Parameters
| Name | Type |
|---|---|
options | Omit<ApplicationCommandSubGroupData, "type" | "options"> |