import BotClient from '@/services/Client'; import { ChatInputCommandInteraction, ContextMenuCommandBuilder, ContextMenuCommandInteraction, ModalSubmitInteraction, SlashCommandBuilder, AutocompleteInteraction, } from 'discord.js'; export interface SlashCommandProps { data: SlashCommandBuilder; category?: string; execute: (client: BotClient, interaction: ChatInputCommandInteraction) => Promise; autocomplete?: (client: BotClient, interaction: AutocompleteInteraction) => Promise; } export interface RemindCommandProps extends SlashCommandProps { contextMenu: ContextMenuCommandBuilder; contextMenuExecute: (c: BotClient, i: ContextMenuCommandInteraction) => Promise; handleModal: (c: BotClient, i: ModalSubmitInteraction) => Promise; }