10 lines
309 B
TypeScript
10 lines
309 B
TypeScript
import type { CommandInteraction, ComponentInteraction } from "../interaction"
|
|
|
|
export type Adapter<InteractionInit> = {
|
|
addComponentInteractionListener(
|
|
listener: (interaction: ComponentInteraction) => void,
|
|
): void
|
|
|
|
createCommandInteraction(interactionInfo: InteractionInit): CommandInteraction
|
|
}
|