Files
illegitimate-bot/src/interfaces/ICommand.ts
2024-08-20 22:27:46 +02:00

13 lines
406 B
TypeScript

import { ChatInputCommandInteraction, SlashCommandBuilder } from "discord.js"
import { ExtendedClient as Client } from "utils/Client"
export default interface ICommand {
name: string
description: string
dev?: boolean
public: boolean
subcommands?: boolean
data: SlashCommandBuilder
execute: (arg: { interaction: ChatInputCommandInteraction, client: Client }) => Promise<void>
}