Updated command interface

This commit is contained in:
2024-01-01 14:32:20 +01:00
parent d56c13ae07
commit 9ef8ab593c

View File

@@ -8,10 +8,7 @@ export default interface Command {
type: "slash"
dev?: boolean
public: boolean
data: Omit<
SlashCommandBuilder,
"addSubcommand" | "addSubcommandGroup" | "addIntegerOption"
>
data: SlashCommandBuilder
subcommands?: boolean
execute: (
interaction: ChatInputCommandInteraction,