Skip to content

Commit

Permalink
Shard Master Translation
Browse files Browse the repository at this point in the history
  • Loading branch information
LoboMetalurgico committed Aug 11, 2020
1 parent 7cb1e47 commit da20bb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sharding.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const manager = new Discord.ShardingManager(`./${pkg.main}`, {
totalShards: config.sharding.totalShards
});

const logPrefix = `${chalk.gray('[')}${chalk.yellow('SHARD MASTER')}${chalk.gray(']')}`;
const logPrefix = `${chalk.gray('[')}${chalk.yellow(language.shard.master)}${chalk.gray(']')}`;

manager.on('launch', shard => console.log(`${logPrefix} ${shard.id} (${shard.id + 1}/${manager.totalShards}) ${language.shard.launch.replace('[shard] ', '')}`));
process.on('exit', code => console.log(`${logPrefix} ${chalk.red(language.shard.exit)} ${language.shard.exitCode}`, code));
Expand Down

0 comments on commit da20bb6

Please sign in to comment.