13 lines
406 B
TypeScript
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>
|
|
}
|