From e76d951d96d7f35f4e60618e086085cf30dc9f7f Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Wed, 8 Sep 2021 20:47:58 +0200 Subject: [PATCH] changed CommandInteractionData to ReadonlyMap --- src/commands/types/commands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/types/commands.ts b/src/commands/types/commands.ts index 3a355fc..cfebc37 100644 --- a/src/commands/types/commands.ts +++ b/src/commands/types/commands.ts @@ -2,12 +2,12 @@ import { BaseCommand } from "../BaseCommand.js"; import { ChatCommand } from "../ChatCommand.js"; import { MessageCommand } from "../MessageCommand.js"; import { UserCommand } from "../UserCommand.js"; -import { InputParameter } from "../../structures/Parameter.js"; import { Interaction, Message } from "discord.js"; +import { ParameterResolvable } from "structures/types/Parameter.js"; export type CommandResolvable = BaseCommand | ChatCommand | MessageCommand | UserCommand; export interface CommandInteractionData { command: T extends Interaction ? BaseCommand : ChatCommand; - parameters: InputParameter[]; + parameters: ReadonlyMap; }