move stuff around until it feels right
This commit is contained in:
9
library/adapter/adapter.ts
Normal file
9
library/adapter/adapter.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import type { CommandInteraction, ComponentInteraction } from "../interaction"
|
||||
|
||||
export type Adapter<InteractionInit> = {
|
||||
addComponentInteractionListener(
|
||||
listener: (interaction: ComponentInteraction) => void,
|
||||
): void
|
||||
|
||||
createCommandInteraction(interactionInfo: InteractionInit): CommandInteraction
|
||||
}
|
||||
Reference in New Issue
Block a user