Skip to content

Commit 518bb01

Browse files
committed
fix: eslint & prettier
1 parent a73efe0 commit 518bb01

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/discord/DiscordManager.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const { Client, Collection, AttachmentBuilder, GatewayIntentBits, embedLength } = require("discord.js");
1+
const { Client, Collection, AttachmentBuilder, GatewayIntentBits } = require("discord.js");
22
const CommunicationBridge = require("../contracts/CommunicationBridge.js");
33
const { replaceVariables } = require("../contracts/helperFunctions.js");
44
const messageToImage = require("../contracts/messageToImage.js");

src/minecraft/commands/skillsCommand.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
const minecraftCommand = require("../../contracts/minecraftCommand.js");
22
const { getLatestProfile } = require("../../../API/functions/getLatestProfile.js");
33
const getSkills = require("../../../API/stats/skills.js");
4-
const { formatUsername } = require("../../contracts/helperFunctions.js");
54
const { getSkillAverage } = require("../../../API/constants/skills.js");
65
const helperFunctions = require("../../contracts/helperFunctions.js");
76
const { capitalize } = require("lodash");
@@ -27,7 +26,7 @@ class SkillsCommand extends minecraftCommand {
2726
const args = this.getArgs(message);
2827
player = args[0] || player;
2928

30-
const { username, profile, profileData } = await getLatestProfile(player, { museum: true });
29+
const { username, profile, profileData } = await getLatestProfile(player);
3130

3231
const skillAverage = getSkillAverage(profile);
3332
const skills = getSkills(profile, profileData);

src/minecraft/commands/weightCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const minecraftCommand = require("../../contracts/minecraftCommand.js");
22
const delay = (ms) => new Promise((resolve) => setTimeout(resolve, ms));
33
const getWeight = require("../../../API/stats/weight.js");
4-
const { formatNumber } = require("../../contracts/helperFunctions.js");
4+
const { formatNumber } = require("../../contracts/helperFunctions.js");
55
const { getLatestProfile } = require("../../../API/functions/getLatestProfile.js");
66

77
class StatsCommand extends minecraftCommand {

0 commit comments

Comments
 (0)