import { SlashCommandBuilder, SlashCommandOptionsOnlyBuilder, SlashCommandSubcommandsOnlyBuilder } from "discord.js"; import { ExtendedClient } from "./ExtendedClient"; import { GuildCommandInteraction } from "./Interactions"; export interface Command { data: | SlashCommandOptionsOnlyBuilder | Omit | SlashCommandSubcommandsOnlyBuilder; run: ( bot: ExtendedClient, interaction: GuildCommandInteraction ) => Promise; }