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