diff --git a/mkwpp-parser/script.js b/mkwpp-parser/script.js index 2a7e237..5c0f678 100644 --- a/mkwpp-parser/script.js +++ b/mkwpp-parser/script.js @@ -165,6 +165,10 @@ document.getElementById("readInput").addEventListener("click", async function() for (let line of parserData) { let lowercaseLine = line.toLowerCase(); console.log(lowercaseLine); + if (lowercaseLine.includes("—")) { + writeToOutput(`Skipped line "${line}", it's a discord line.`); + continue; + } if (lowercaseLine.startsWith("date")) { skipToNextSubmission = false flapCatch = false;