Files
reacord/library/core/adapters/adapter.ts
2021-12-26 22:57:17 -06:00

19 lines
371 B
TypeScript

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