From 4f6b656b301355155e97e1f6d83f67393f29d17b Mon Sep 17 00:00:00 2001 From: Daryl Ronningen Date: Mon, 21 Jun 2021 16:18:56 -0700 Subject: [PATCH] fix: unable to start because of module alias not registering --- src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.ts b/src/index.ts index 56336d2..ad3eaa4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,6 +14,8 @@ * You should have received a copy of the GNU General Public License * along with ArgonBot. If not, see . */ +require('module-alias/register'); + import type Command from '@structures/command'; import { Defaults } from '@utils/defaults'; import { debug, error, fatal, info, verbose } from '@utils/logger'; @@ -29,8 +31,6 @@ import { DateTime } from 'luxon'; import path from 'path'; import process from 'process'; -require('module-alias/register'); - let isBotReady = false; const commands: Collection = new Collection();