From 191e213dcf9a4ce895a99cd275b8e358fbb859ee Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Tue, 7 Sep 2021 19:15:37 +0200 Subject: [PATCH] fixed index.ts and removed unused import --- index.ts | 5 +++-- src/types/ChatCommand.ts | 1 - 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.ts b/index.ts index a637b3b..cd28902 100644 --- a/index.ts +++ b/index.ts @@ -3,12 +3,13 @@ import { ChatCommand } from "./src/structures/ChatCommand.js"; import { MessageCommand } from "./src/structures/MessageCommand.js"; import { UserCommand } from "./src/structures/UserCommand.js"; import { InitOptions } from "./src/types/Bot.js"; -import { ChatCommandInit, CommandMessageStructure } from "./src/types/ChatCommand.js"; +import { ChatCommandInit } from "./src/types/ChatCommand.js"; import { HelpMessageParams } from "./src/types/HelpMessage.js"; import { ParameterResolvable, ParameterType, ParameterSchema } from "./src/types/Parameter.js"; import { SystemMessageAppearance, SystemMessageData } from "./src/types/SystemMessage.js"; import { ObjectID, InputParameter, StringParameter, BooleanParameter, NumberParameter, ObjectParameter, Parameter } from "./src/structures/Parameter.js"; import { PermissionsError, ParameterTypeError, MissingParameterError, OperationSuccess } from "./src/errors.js"; +import { CommandInteractionData } from "./src/types/commands.js"; export default Bot; export { @@ -18,7 +19,7 @@ export { UserCommand, InitOptions, ChatCommandInit, - CommandMessageStructure, + CommandInteractionData, HelpMessageParams, ParameterResolvable, ParameterType, diff --git a/src/types/ChatCommand.ts b/src/types/ChatCommand.ts index e795310..3be6fc6 100644 --- a/src/types/ChatCommand.ts +++ b/src/types/ChatCommand.ts @@ -3,7 +3,6 @@ import { ParameterSchema, ParameterResolvable } from "./Parameter.js"; import { InputParameter } from "../structures/Parameter.js"; import { PermissionCheckTypes, PermissionTypes } from "./permissions.js"; import { CommandFunctionReturnTypes } from "./BaseCommand.js"; -import { BaseCommand } from "../structures/BaseCommand.js"; /** * @interface