generated from nhcarrigan/template
feat: initial commit
This commit is contained in:
14
src/interfaces/commands/Command.ts
Normal file
14
src/interfaces/commands/Command.ts
Normal file
@ -0,0 +1,14 @@
|
||||
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>;
|
||||
}
|
Reference in New Issue
Block a user