@discord-flow/types
v1.0.3
Published
Type definitions for discord-flow
Maintainers
Readme
@discord-flow/types
TypeScript type definitions for discord-flow.
Installation
npm install @discord-flow/typesUsage
import type {
Interaction,
CommandInteraction,
ButtonInteraction,
ModalInteraction,
SelectInteraction,
FlowResponse
} from '@discord-flow/types';Types
Interaction- Base interaction typeCommandInteraction- Slash command interactionsButtonInteraction- Button click interactionsModalInteraction- Modal submit interactionsSelectInteraction- Select menu interactionsFlowResponse- Response type for flow handlersEmbed- Discord embed structureComponent- Discord component structure
License
MIT
