Files
illegitimate-bot/src/interfaces/Command.ts
2024-01-01 14:32:20 +01:00

18 lines
476 B
TypeScript

/* eslint-disable no-unused-vars */
import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"
import { ExtendedClient as Client } from "../utils/Client"
export default interface Command {
name: string
description: string
type: "slash"
dev?: boolean
public: boolean
data: SlashCommandBuilder
subcommands?: boolean
execute: (
interaction: ChatInputCommandInteraction,
client: Client,
) => Promise<void>
}