UNPKG

sdhandler

Version:
13 lines (12 loc) 375 B
import type { SDClient } from "../structures/Client"; import type { ButtonInteraction } from "discord.js"; interface ButtonRunOptions { client: SDClient; interaction: ButtonInteraction; } declare type ButtonRunFunction = (options: ButtonRunOptions) => any; export declare type ButtonOptions = { name: string; run: ButtonRunFunction; }; export {};