diff --git a/src/index.ts b/src/index.ts index 4096afb..bd47fa0 100644 --- a/src/index.ts +++ b/src/index.ts @@ -17,13 +17,13 @@ require('module-alias/register'); import process from 'process'; -import { Client } from 'discord.js'; import figlet from 'figlet'; import gradient from 'gradient-string'; import config from 'config'; +import chalk from 'chalk'; import { Validator } from 'jsonschema'; import { DateTime } from 'luxon'; -import chalk from 'chalk'; +import { Client } from 'discord.js'; import { debug, error, info, verbose } from '@utils/logger'; import { ELoggingScope } from '@utils/types'; import { Defaults } from '@utils/defaults'; @@ -39,7 +39,7 @@ const validate = schemaValidator.validate(mergedConfig, Defaults.configSchema); if (validate.valid) { debug('Config matches JSON schema', ELoggingScope.Startup); } else { - // Manually send fatal message in case someone messes up the logLevel JSON schema + // Manually send fatal message in case someone messes up the logLevel config const message = `Found some errors with the config! Please check errors below.\n${validate.errors}`; const date = DateTime.now().toLocal().setLocale(Intl.DateTimeFormat().resolvedOptions().locale).toFormat('yyyy-LL-dd HH:mm:ss');