Files
reacord/library/adapter/adapter.ts
MapleLeaf 51bbdea73e some docs
2021-12-26 15:05:58 -06:00

16 lines
363 B
TypeScript

import type { CommandInteraction, ComponentInteraction } from "../interaction"
export type Adapter<InteractionInit> = {
/**
* @internal
*/
addComponentInteractionListener(
listener: (interaction: ComponentInteraction) => void,
): void
/**
* @internal
*/
createCommandInteraction(interactionInfo: InteractionInit): CommandInteraction
}