codePreviews: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

This commit is contained in:
Cynthia Foxwell 2022-05-07 16:59:11 -06:00
parent 732be207d2
commit 314c656a90

View file

@ -42,7 +42,7 @@ events.add("messageCreate", "codePreviews", async function (msg) {
const fileType = const fileType =
fileName.indexOf(".") == -1 fileName.indexOf(".") == -1
? "" ? ""
: fileName.subString(fileName.indexOf(".") + 1); : fileName.substring(fileName.indexOf(".") + 1);
const lineStr = link.match(/#L\d+?(-L\d+?)?/)[0]; const lineStr = link.match(/#L\d+?(-L\d+?)?/)[0];
let startLine, endLine; let startLine, endLine;