diff --git a/src/commands/types/commands.ts b/src/commands/types/commands.ts index cfebc37..b18c0f7 100644 --- a/src/commands/types/commands.ts +++ b/src/commands/types/commands.ts @@ -4,10 +4,11 @@ import { MessageCommand } from "../MessageCommand.js"; import { UserCommand } from "../UserCommand.js"; import { Interaction, Message } from "discord.js"; import { ParameterResolvable } from "structures/types/Parameter.js"; +import { TargetID } from "structures/Parameter.js"; export type CommandResolvable = BaseCommand | ChatCommand | MessageCommand | UserCommand; export interface CommandInteractionData { command: T extends Interaction ? BaseCommand : ChatCommand; - parameters: ReadonlyMap; + parameters: ReadonlyMap | TargetID; }