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();