From 45c61d12cd177dd377c40871074d07434f4eea87 Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Mon, 6 Sep 2021 20:50:51 +0200 Subject: [PATCH] removed general command type from basecommand types --- src/types/BaseCommand.ts | 5 ----- 1 file changed, 5 deletions(-) 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;