From 343909d3718200bb921743377be14a29df6d3081 Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Wed, 8 Sep 2021 23:14:07 +0200 Subject: [PATCH] fixed some more importing errors --- src/commands/ChatCommand.ts | 2 +- src/errors.ts | 2 +- src/structures/Bot.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/ChatCommand.ts b/src/commands/ChatCommand.ts index 21db948..cb73d0d 100644 --- a/src/commands/ChatCommand.ts +++ b/src/commands/ChatCommand.ts @@ -4,7 +4,7 @@ import { ChatCommandInit } from "./types/ChatCommand.js"; import { DefaultParameter, ObjectID, Parameter, TargetID } from "../structures/parameter.js"; import { TextCommandObject, TextCommandOptionChoiceObject, TextCommandOptionObject } from "../structures/types/api.js"; import { ParameterResolvable } from "../structures/types/Parameter.js"; -import { MissingParameterError, ParameterTypeError } from "errors.js"; +import { MissingParameterError, ParameterTypeError } from "../errors.js"; /** * @class Class that represents a command instance diff --git a/src/errors.ts b/src/errors.ts index 1d082ff..025cea5 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -1,5 +1,5 @@ -import { BaseCommand } from "./commands/BaseCommand.js"; import { GuildMember } from "discord.js"; +import { BaseCommand } from "./commands/BaseCommand.js"; import { Parameter } from "./structures/parameter.js"; import { ParameterType } from "./structures/types/Parameter.js"; diff --git a/src/structures/Bot.ts b/src/structures/Bot.ts index 65d000b..e8da0a1 100644 --- a/src/structures/Bot.ts +++ b/src/structures/Bot.ts @@ -2,7 +2,7 @@ import { Client, CommandInteraction, GuildMember, Intents, Message } from "disco import { EventEmitter } from "events"; import * as http from "http"; import { ChatCommand } from "../commands/ChatCommand.js"; -import { CommandManager } from "../commands/CommandManager"; +import { CommandManager } from "../commands/CommandManager.js"; import { CommandNotFound, OperationSuccess, PermissionsError } from "../errors.js"; import { HelpMessage } from "../commands/Help.js"; import { SystemMessageManager } from "./SystemMessage.js";