fix: unable to start because of module alias not registering
This commit is contained in:
parent
5ce7664440
commit
4f6b656b30
1 changed files with 2 additions and 2 deletions
|
@ -14,6 +14,8 @@
|
||||||
* You should have received a copy of the GNU General Public License
|
* You should have received a copy of the GNU General Public License
|
||||||
* along with ArgonBot. If not, see <https: //www.gnu.org/licenses/>.
|
* along with ArgonBot. If not, see <https: //www.gnu.org/licenses/>.
|
||||||
*/
|
*/
|
||||||
|
require('module-alias/register');
|
||||||
|
|
||||||
import type Command from '@structures/command';
|
import type Command from '@structures/command';
|
||||||
import { Defaults } from '@utils/defaults';
|
import { Defaults } from '@utils/defaults';
|
||||||
import { debug, error, fatal, info, verbose } from '@utils/logger';
|
import { debug, error, fatal, info, verbose } from '@utils/logger';
|
||||||
|
@ -29,8 +31,6 @@ import { DateTime } from 'luxon';
|
||||||
import path from 'path';
|
import path from 'path';
|
||||||
import process from 'process';
|
import process from 'process';
|
||||||
|
|
||||||
require('module-alias/register');
|
|
||||||
|
|
||||||
let isBotReady = false;
|
let isBotReady = false;
|
||||||
const commands: Collection<string, Command> = new Collection();
|
const commands: Collection<string, Command> = new Collection();
|
||||||
|
|
||||||
|
|
Reference in a new issue