Skip to content

Commit 218173e

Browse files
authored
Merge pull request #308 from Maseshi/dev
🎉 v3.6.19 Release (Hot Fixes)
2 parents 142c18f + 8536b3d commit 218173e

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "shioru",
3-
"version": "3.6.18",
3+
"version": "3.6.19",
44
"description": "Assistants within your Discord server will help make your server a better place to live.",
55
"homepage": "https://github.com/Maseshi/Shioru#readme",
66
"bugs": {

source/shard.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ manager.on("shardCreate", (shard) => {
5757
const shardTotal = manager.totalShards;
5858

5959
if (mode !== "dev") updateChecker();
60-
if (mode === "start") systemMetricsSubmitter();
61-
if (mode === "start") statisticsSubmitter(manager);
62-
if (mode === "start") healthCheckSubmitter();
6360

6461
logEmbed
6562
.setColor(Colors.Blue)
@@ -197,6 +194,10 @@ manager.on("shardCreate", (shard) => {
197194
child.fatal(error, `Shard id ${shardID} is having problems.`);
198195
});
199196
shard.on(ShardEvents.Ready, () => {
197+
if (mode === "start") systemMetricsSubmitter();
198+
if (mode === "start") statisticsSubmitter(manager);
199+
if (mode === "start") healthCheckSubmitter();
200+
200201
logEmbed
201202
.setColor(Colors.Green)
202203
.setTitle("✅・Shard Ready")

0 commit comments

Comments
 (0)