Converted main codebase to typescript
Signed-off-by: Taken <taken@mairimashita.org>
This commit is contained in:
10
src/interfaces/ContextMenu.ts
Normal file
10
src/interfaces/ContextMenu.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { ContextMenuCommandInteraction, ContextMenuCommandBuilder } from "discord.js"
|
||||
|
||||
export default interface ContextMenu {
|
||||
name: string
|
||||
description: string
|
||||
type: "contextmenu"
|
||||
dev?: boolean
|
||||
data: ContextMenuCommandBuilder
|
||||
execute: (interaction: ContextMenuCommandInteraction) => Promise<void>
|
||||
}
|
||||
Reference in New Issue
Block a user