Updated interfacess and types

This commit is contained in:
2024-02-16 15:31:30 +01:00
parent 6dfe972057
commit 137401630e
14 changed files with 538 additions and 536 deletions

View 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>
}