Skip to content
GitHub

ComponentHandlerEntry

interface in meocord/core Since 4.1.0

interface ComponentHandlerEntry extends HandlerEntryBase

A registered button or select menu handler, as the registry lists it.

Members

kind

kind: 'component'

Marks a component handler, so kind narrows a HandlerEntry to this type.

commandType

commandType: CommandType

The CommandType the handler is declared with.

name

name: string

The customId pattern, such as profile/{uid}.

See also