Updated interfacess and types
This commit is contained in:
13
src/interfaces/IContextMenu.ts
Normal file
13
src/interfaces/IContextMenu.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
import {
|
||||
ContextMenuCommandInteraction,
|
||||
ContextMenuCommandBuilder
|
||||
} from "discord.js"
|
||||
|
||||
export default interface IContextMenu {
|
||||
name: string
|
||||
description: string
|
||||
dev?: boolean
|
||||
data: ContextMenuCommandBuilder
|
||||
execute: (interaction: ContextMenuCommandInteraction) => Promise<void>
|
||||
}
|
||||
Reference in New Issue
Block a user