yor.ts / Exports / YorInteractionComponent

Class: YorInteractionComponent

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new YorInteractionComponent(): YorInteractionComponent

Returns

YorInteractionComponent

Properties

execute

execute: (context: ComponentContext) => void | Promise<void>

Type declaration

▸ (context): void | Promise<void>

Parameters
NameType
contextComponentContext
Returns

void | Promise<void>

Implementation of

Component.execute

Defined in

src/structures/YorInteractionComponent.ts:7


id

id: string

Implementation of

Component.id

Defined in

src/structures/YorInteractionComponent.ts:6