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