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