Skip to content

Commit

Permalink
[anticheat_logs.ts] Remove support for UAC as this project is no long…
Browse files Browse the repository at this point in the history
…er active.
  • Loading branch information
Pete9xi committed Aug 19, 2024
1 parent 8289a4d commit 1d541bc
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions src/anticheat_listener/anticheat_logs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export function setupAntiCheatListener(bot: Client, channelId: TextBasedChannel)

const isAntiCheatMessage =
message.includes("§r§4[§6Paradox§4]§r") ||
message.includes("§¶§cUAC STAFF §b► §d") ||
message.includes("§r§6[§aScythe§6]§r") ||
message.includes("§l§6[§4Paradox§6]§r") ||
message.includes("§l§6[§4Paradox AntiCheat Command Help§6]") ||
Expand All @@ -35,14 +34,6 @@ export function setupAntiCheatListener(bot: Client, channelId: TextBasedChannel)
) {
antiCheatMsg = rawText;
correctedText = autoCorrect(antiCheatMsg, correction);
} else if (rawText.startsWith("§¶§cUAC STAFF §b► §d")) {
antiCheatMsg =
rawText +
obj.rawtext
.slice(1, 3)
.map((t: { text: string }) => t.text)
.join("");
correctedText = autoCorrect(antiCheatMsg, correction);
} else if (rawText.startsWith("§r§6[§aScythe§6]§r")) {
antiCheatMsg = rawText;
correctedText = autoCorrect(antiCheatMsg, correction);
Expand Down

0 comments on commit 1d541bc

Please sign in to comment.