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

View File

@@ -0,0 +1,10 @@
import { ContextMenuCommandBuilder, ContextMenuCommandInteraction } from "discord.js"
import { ExtendedClient } from "~/utils/Client.js"
export interface IContextMenu {
name: string
description: string
dev?: boolean
data: ContextMenuCommandBuilder
execute: (arg: { interaction: ContextMenuCommandInteraction, client: ExtendedClient }) => Promise<void>
}