From ba56d41c7332ae94e5949e5ffa90bcad423c6f1e Mon Sep 17 00:00:00 2001 From: GRZ4NA Date: Sun, 20 Jun 2021 02:37:37 +0200 Subject: [PATCH] fixed import module not found error --- src/Bot.ts | 6 +++--- src/Help.ts | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Bot.ts b/src/Bot.ts index 90da3fa..46d5ab0 100644 --- a/src/Bot.ts +++ b/src/Bot.ts @@ -1,8 +1,8 @@ //IMPORTS import { Client, ClientOptions, Message } from 'discord.js'; -import { Command, CommandsManager } from './Commands'; -import { HelpMessage, HelpMessageParams } from './Help'; -import { CommandMessage } from './CommandMessage'; +import { Command, CommandsManager } from './Commands.js'; +import { HelpMessage, HelpMessageParams } from './Help.js'; +import { CommandMessage } from './CommandMessage.js'; import * as http from 'http'; //TYPE DEFINITIONS diff --git a/src/Help.ts b/src/Help.ts index 2ebaa34..a0f9217 100644 --- a/src/Help.ts +++ b/src/Help.ts @@ -1,5 +1,5 @@ import { Message, MessageEmbed } from 'discord.js'; -import { Command, CommandsManager } from './Commands'; +import { Command, CommandsManager } from './Commands.js'; interface HelpMessageParams { title: string,