9 lines
262 B
TypeScript
9 lines
262 B
TypeScript
import { ButtonInteraction } from "discord.js"
|
|
import { ExtendedClient } from "~/utils/Client"
|
|
|
|
export interface IButton {
|
|
name: string
|
|
description: string
|
|
execute: (arg: { interaction: ButtonInteraction, client: ExtendedClient }) => Promise<void>
|
|
}
|