Updated type system
This commit is contained in:
8
src/typings/Button.ts
Normal file
8
src/typings/Button.ts
Normal 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>
|
||||
}
|
||||
Reference in New Issue
Block a user