UNPKG

@ayanaware/bentocord

Version:

Bentocord is a Bento plugin designed to rapidly build fully functional Discord Bots.

7 lines (6 loc) 432 B
import { AnyComponentContext } from '../contexts/AnyComponentContext'; import { ButtonContext } from '../contexts/ButtonContext'; import { SelectContext } from '../contexts/SelectContext'; export declare type ComponentHandler = (ctx: AnyComponentContext) => Promise<unknown>; export declare type ButtonHandler = (ctx: ButtonContext) => Promise<unknown>; export declare type SelectHandler = (ctx: SelectContext) => Promise<unknown>;