Skip to content

Commit 962f269

Browse files
committed
Move ez -> e-z to mayor command
1 parent c23dfaa commit 962f269

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/contracts/minecraftCommand.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ class minecraftCommand {
3131
return;
3232
}
3333

34-
message = message.replaceAll("ez", "e-z").replaceAll("EZ", "E-Z");
35-
3634
const startTime = Date.now();
3735
const maxExecutionTime = 10000;
3836

src/minecraft/commands/mayorCommand.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ class MayorCommand extends minecraftCommand {
3333
`[MAYOR] ${data.mayor.name} is the current mayor of Skyblock! Perks: ${data.mayor.perks
3434
.map((perk) => perk.name)
3535
.join(", ")}, Minister Perk: ${data.mayor.minister?.perk?.name ?? "Unknown"}`
36+
.replaceAll("ez", "e-z")
37+
.replaceAll("EZ", "E-Z")
3638
);
3739

3840
await delay(1000);

0 commit comments

Comments
 (0)