Skip to content

Commit f618c02

Browse files
committed
Fix missed errors
1 parent 076082d commit f618c02

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/discord/commands/helpCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module.exports = {
8787
await interaction.followUp({ embeds: [embed] });
8888
}
8989
} catch (error) {
90-
console.log(error);
90+
console.error(error);
9191
}
9292
},
9393
};

src/discord/commands/infoCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ module.exports = {
9595
});
9696
await interaction.followUp({ embeds: [infoEmbed] });
9797
} catch (e) {
98-
console.log(e);
98+
console.error(e);
9999
}
100100
},
101101
};

src/minecraft/commands/PlayerCommand.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ class PlayerCommand extends minecraftCommand {
3131
`/gc ${rank !== "Default" ? `[${rank}] ` : ""}${nickname}'s level: ${level} | Karma: ${formatNumber(karma, 0)} Achievement Points: ${formatNumber(achievementPoints, 0)} Guild: ${guildName} `,
3232
);
3333
} catch (error) {
34-
console.log(error);
35-
34+
console.error(error);
3635
this.send(`/gc [ERROR] ${error}`);
3736
}
3837
}

0 commit comments

Comments
 (0)