Files
illegitimate-bot/src/typings/ContextMenu.ts
2025-03-08 14:02:12 +01:00

11 lines
372 B
TypeScript

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