Skip to content
GitHub

ModalHandlerEntry

interface in meocord/core Since 4.1.0

interface ModalHandlerEntry extends HandlerEntryBase

A registered modal submit handler, as the registry lists it.

Members

kind

kind: 'modal'

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

commandType

commandType: CommandType.MODAL_SUBMIT

Always CommandType.MODAL_SUBMIT.

name

name: string

The customId pattern.

See also