From 6dc68dfae92da6fce998b5bf95350b282ece25ac Mon Sep 17 00:00:00 2001 From: CL TheDreWen <114508680+thedrewen@users.noreply.github.com> Date: Sun, 4 Jan 2026 17:16:00 +0100 Subject: [PATCH] Update type.d.ts --- src/type.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/type.d.ts b/src/type.d.ts index 32f0360..9677203 100644 --- a/src/type.d.ts +++ b/src/type.d.ts @@ -1,3 +1,3 @@ -import { ButtonInteraction, ChatInputCommandInteraction, SlashCommandOptionsOnlyBuilder } from "discord.js"; +import { ButtonInteraction, ChatInputCommandInteraction, SlashCommandOptionsOnlyBuilder, ModalSubmitInteraction } from "discord.js"; -export type CommandDefinition = { data: SlashCommandBuilder | SlashCommandOptionsOnlyBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[], modals?: { id: string, handle: (interaction: ModalSubmitInteraction) => void }[]}; \ No newline at end of file +export type CommandDefinition = { data: SlashCommandBuilder | SlashCommandOptionsOnlyBuilder, execute: (interaction: ChatInputCommandInteraction) => void, buttons?: { id: string, handle: (interaction: ButtonInteraction) => void}[], modals?: { id: string, handle: (interaction: ModalSubmitInteraction) => void }[]};