generated from nhcarrigan/template
15 lines
430 B
TypeScript
15 lines
430 B
TypeScript
import {
|
|
SlashCommandBuilder,
|
|
SlashCommandSubcommandsOnlyBuilder,
|
|
} from "@discordjs/builders";
|
|
import { CommandInteraction } from "discord.js";
|
|
|
|
import { WeatherCache } from "../WeatherCache";
|
|
|
|
export interface Command {
|
|
data:
|
|
| Omit<SlashCommandBuilder, "addSubcommand" | "addSubcommandGroup">
|
|
| SlashCommandSubcommandsOnlyBuilder;
|
|
run: (interaction: CommandInteraction, CACHE: WeatherCache) => Promise<void>;
|
|
}
|