codePreviews: .
This commit is contained in:
parent
314c656a90
commit
fa90552c2a
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ events.add("messageCreate", "codePreviews", async function (msg) {
|
||||||
? ""
|
? ""
|
||||||
: 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;
|
||||||
let entireFile = false;
|
let entireFile = false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue