diff --git a/src/types/BaseCommand.ts b/src/types/BaseCommand.ts index fafba77..51f5863 100644 --- a/src/types/BaseCommand.ts +++ b/src/types/BaseCommand.ts @@ -3,9 +3,6 @@ import { InputParameter } from "../structures/Parameter.js"; import { ParameterResolvable } from "./Parameter.js"; import { PermissionCheckTypes, PermissionTypes } from "./permissions.js"; import { BaseCommand } from "../structures/BaseCommand.js"; -import { TextCommand } from "../structures/TextCommand.js"; -import { MessageCommand } from "../structures/MessageCommand.js"; -import { UserCommand } from "../structures/UserCommand.js"; export interface BaseCommandInit { name: string; @@ -29,5 +26,3 @@ export interface PhraseOccurrenceData { command: BaseCommand; type: "NAME" | "ALIAS"; } - -export type CommandStructure = T extends "MESSAGE" ? MessageCommand : T extends "USER" ? UserCommand : T extends "CHAT" ? TextCommand : never;