Skip to content

Commit 8925f6a

Browse files
committed
Remove old /gc
1 parent 2fed066 commit 8925f6a

15 files changed

+19
-19
lines changed

src/minecraft/commands/PlayerCommand.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,11 @@ class PlayerCommand extends minecraftCommand {
2828
const guildName = guild ? guild.name : "None";
2929

3030
this.send(
31-
`/gc ${rank !== "Default" ? `[${rank}] ` : ""}${nickname}'s level: ${level} | Karma: ${formatNumber(karma, 0)} Achievement Points: ${formatNumber(achievementPoints, 0)} Guild: ${guildName} `,
31+
`${rank !== "Default" ? `[${rank}] ` : ""}${nickname}'s level: ${level} | Karma: ${formatNumber(karma, 0)} Achievement Points: ${formatNumber(achievementPoints, 0)} Guild: ${guildName} `,
3232
);
3333
} catch (error) {
3434
console.log(error);
35-
36-
this.send(`/gc [ERROR] ${error}`);
35+
this.send(`[ERROR] ${error}`);
3736
}
3837
}
3938
}

src/minecraft/commands/auctionHouseCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ class AuctionHouseCommand extends minecraftCommand {
9191
}
9292

9393
imgurUrl = string;
94-
this.send(`/gc $${username}'s Active Auctions: Check Discord Bridge for image.`);
94+
this.send(`$${username}'s Active Auctions: Check Discord Bridge for image.`);
9595
} catch (error) {
9696
console.log(error);
9797
this.send(`[ERROR] ${error}`);

src/minecraft/commands/chickenCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ChickenCommand extends minecraftCommand {
2626
}
2727

2828
imgurUrl = data.url;
29-
this.send("/gc Funny Chicken: Check Discord Bridge for image.");
29+
this.send("Funny Chicken: Check Discord Bridge for image.");
3030
} catch (error) {
3131
this.send(`[ERROR] ${error ?? "Something went wrong.."}`);
3232
}

src/minecraft/commands/dinosaurCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class DinosaurCommand extends minecraftCommand {
2626
}
2727

2828
imgurUrl = data.url;
29-
this.send("/gc Funny dino: Check Discord Bridge for image.");
29+
this.send("Funny dino: Check Discord Bridge for image.");
3030
} catch (error) {
3131
this.send(`[ERROR] ${error}`);
3232
}

src/minecraft/commands/duckCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class DuckCommand extends minecraftCommand {
2626
}
2727

2828
imgurUrl = data.url;
29-
this.send("/gc Funny Duck: Check Discord Bridge for image.");
29+
this.send("Funny Duck: Check Discord Bridge for image.");
3030
} catch (error) {
3131
this.send(`[ERROR] ${error ?? "Something went wrong.."}`);
3232
}

src/minecraft/commands/gardenCommand.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,11 @@ class GardenCommand extends minecraftCommand {
2929
const garden = getGarden(data.garden);
3030

3131
this.send(
32-
`/gc ${username}'s garden ${garden.level.level} | Crop Milestones: Wheat: ${garden.cropMilesstone.wheat.level} | Carrot: ${garden.cropMilesstone.carrot.level} | Cane: ${garden.cropMilesstone.sugarCane.level} | Potato: ${garden.cropMilesstone.potato.level} | Wart: ${garden.cropMilesstone.netherWart.level} | Pumpkin: ${garden.cropMilesstone.pumpkin.level} | Melon: ${garden.cropMilesstone.melon.level} | Mushroom: ${garden.cropMilesstone.mushroom.level} | Cocoa: ${garden.cropMilesstone.cocoaBeans.level} | Cactus: ${garden.cropMilesstone.cactus.level}`,
32+
`${username}'s garden ${garden.level.level} | Crop Milestones: Wheat: ${garden.cropMilesstone.wheat.level} | Carrot: ${garden.cropMilesstone.carrot.level} | Cane: ${garden.cropMilesstone.sugarCane.level} | Potato: ${garden.cropMilesstone.potato.level} | Wart: ${garden.cropMilesstone.netherWart.level} | Pumpkin: ${garden.cropMilesstone.pumpkin.level} | Melon: ${garden.cropMilesstone.melon.level} | Mushroom: ${garden.cropMilesstone.mushroom.level} | Cocoa: ${garden.cropMilesstone.cocoaBeans.level} | Cactus: ${garden.cropMilesstone.cactus.level}`,
3333
);
3434
} catch (error) {
35-
this.send(`/gc [ERROR] ${error}`);
35+
console.log(error);
36+
this.send(`[ERROR] ${error}`);
3637
}
3738
}
3839
}

src/minecraft/commands/kittyCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class KittyCommand extends minecraftCommand {
2525
const upload = await uploadImage(link);
2626

2727
imgurUrl = upload.data.link;
28-
this.send("/gc Cute Cat: Check Discord Bridge for image.");
28+
this.send("Cute Cat: Check Discord Bridge for image.");
2929
} catch (error) {
3030
this.send(`[ERROR] ${error ?? "Something went wrong.."}`);
3131
}

src/minecraft/commands/mayorCommand.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class MayorCommand extends minecraftCommand {
2323
}
2424

2525
this.send(
26-
`/gc [MAYOR] ${data.mayor.name} is the current mayor of Skyblock! Perks: ${data.mayor.perks
26+
`[MAYOR] ${data.mayor.name} is the current mayor of Skyblock! Perks: ${data.mayor.perks
2727
.map((perk) => perk.name)
2828
.join(", ")}, Minister Perk: ${data.mayor.minister.perk.name}`,
2929
);
@@ -36,7 +36,7 @@ class MayorCommand extends minecraftCommand {
3636
0,
3737
);
3838
const percentage = ((currentLeader.votes || 0) / totalVotes) * 100;
39-
this.send(`/gc [MAYOR] Current Election: ${currentLeader.name} has ${percentage.toFixed(2)}% of the votes.`);
39+
this.send(`[MAYOR] Current Election: ${currentLeader.name} has ${percentage.toFixed(2)}% of the votes.`);
4040
}
4141
} catch (error) {
4242
this.send(`[ERROR] ${error}`);

src/minecraft/commands/picketCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class PicketCommand extends minecraftCommand {
2626
}
2727

2828
imgurUrl = data.url;
29-
this.send("/gc PICKET!! Check Discord Bridge for image.");
29+
this.send("PICKET!! Check Discord Bridge for image.");
3030
} catch (error) {
3131
this.send(`[ERROR] ${error ?? "Something went wrong.."}`);
3232
}

src/minecraft/commands/rabbitCommand.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class RabbitCommand extends minecraftCommand {
2626
}
2727

2828
imgurUrl = data.url;
29-
this.send("/gc Funny rabbit: Check Discord Bridge for image.");
29+
this.send("Funny rabbit: Check Discord Bridge for image.");
3030
} catch (error) {
3131
this.send(`[ERROR] ${error ?? "Something went wrong.."}`);
3232
}

0 commit comments

Comments
 (0)