Updated interfacess and types
This commit is contained in:
13
src/interfaces/ICommand.ts
Normal file
13
src/interfaces/ICommand.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* eslint-disable no-unused-vars */
|
||||
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: (interaction: ChatInputCommandInteraction, client: Client) => Promise<void>
|
||||
}
|
||||
Reference in New Issue
Block a user