diff --git a/src/structure/components/commands/information/Info.js b/src/structure/components/commands/information/Info.js index 411d644..ad2518a 100644 --- a/src/structure/components/commands/information/Info.js +++ b/src/structure/components/commands/information/Info.js @@ -5,17 +5,17 @@ const { SlashCommand, CommandError } = require("../../../interfaces"); const Constants = { Badges: { - DISCORD_EMPLOYEE: Emojis['discord-staff'], - DISCORD_PARTNER: Emojis['discord-partner'], - HYPESQUAD_EVENTS: Emojis['hypesquad-events'], - BUGHUNTER_LEVEL_1: Emojis['bughunter'], //eslint-disable-line dot-notation - BUGHUNTER_LEVEL_2: Emojis['bughunter-gold'], - HOUSE_BRAVERY: Emojis['hypesquad-bravery'], - HOUSE_BRILLIANCE: Emojis['hypesquad-brilliance'], - HOUSE_BALANCE: Emojis['hypesquad-balance'], - EARLY_SUPPORTER: Emojis['early-supporter'], - EARLY_VERIFIED_BOT_DEVELOPER: Emojis['bot-developer'], - DISCORD_CERTIFIED_MODERATOR: Emojis['certified-moderator'] + Staff: Emojis['discord-staff'], + Partner: Emojis['discord-partner'], + Hypesquad: Emojis['hypesquad-events'], + BugHunterLevel1: Emojis['bughunter'], //eslint-disable-line dot-notation + BugHunterLevel2: Emojis['bughunter-gold'], + HypeSquadOnlineHouse1: Emojis['hypesquad-bravery'], + HypeSquadOnlineHouse2: Emojis['hypesquad-brilliance'], + HypeSquadOnlineHouse3: Emojis['hypesquad-balance'], + PremiumEarlySupporter: Emojis['early-supporter'], + VerifiedDeveloper: Emojis['bot-developer'], + CertifiedModerator: Emojis['certified-moderator'] } }; diff --git a/src/utilities/Logger.js b/src/utilities/Logger.js index 6e296a4..3456238 100644 --- a/src/utilities/Logger.js +++ b/src/utilities/Logger.js @@ -16,8 +16,8 @@ class Logger { message = `${chalk.bold(`[${this.name.substring(0, 6)}]`)} ${message}`; - // eslint-disable-next-line no-console - if (!process.send || !process.connected) console.log(message); + // eslint-disable-next-line no-console, no-process-exit + if (!process.send || !process.connected) process.exit(); // Child-process disconnected for some reason //console.log(message); else process.send({ _logger: true, message, ...opts }); //return this.client.intercom.send('logger', { message, ...opts }); }