import { SlashCommandBuilder, SlashCommandSubcommandsOnlyBuilder, } from "@discordjs/builders"; import { CommandInteraction } from "discord.js"; import { WeatherCache } from "../WeatherCache"; export interface Command { data: | Omit | SlashCommandSubcommandsOnlyBuilder; run: (interaction: CommandInteraction, CACHE: WeatherCache) => Promise; }