codePreviews: aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa
This commit is contained in:
parent
732be207d2
commit
314c656a90
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ events.add("messageCreate", "codePreviews", async function (msg) {
|
|||
const fileType =
|
||||
fileName.indexOf(".") == -1
|
||||
? ""
|
||||
: fileName.subString(fileName.indexOf(".") + 1);
|
||||
: fileName.substring(fileName.indexOf(".") + 1);
|
||||
|
||||
const lineStr = link.match(/#L\d+?(-L\d+?)?/)[0];
|
||||
let startLine, endLine;
|
||||
|
|
Loading…
Reference in a new issue