some docs
This commit is contained in:
@@ -1,9 +1,15 @@
|
||||
import type { CommandInteraction, ComponentInteraction } from "../interaction"
|
||||
|
||||
export type Adapter<InteractionInit> = {
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
addComponentInteractionListener(
|
||||
listener: (interaction: ComponentInteraction) => void,
|
||||
): void
|
||||
|
||||
/**
|
||||
* @internal
|
||||
*/
|
||||
createCommandInteraction(interactionInfo: InteractionInit): CommandInteraction
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user