Updated type system

This commit is contained in:
2025-01-12 19:14:08 +01:00
parent 69061ba41d
commit 4f1ea148c5
88 changed files with 110 additions and 118 deletions

8
src/typings/Button.ts Normal file
View File

@@ -0,0 +1,8 @@
import { ButtonInteraction } from "discord.js"
import { ExtendedClient } from "~/utils/Client.js"
export interface IButton {
name: string
description: string
execute: (arg: { interaction: ButtonInteraction, client: ExtendedClient }) => Promise<void>
}