codePreviews: fix lines being cut off
This commit is contained in:
parent
fa90552c2a
commit
4c681a137e
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ events.add("messageCreate", "codePreviews", async function (msg) {
|
||||||
endLine--;
|
endLine--;
|
||||||
|
|
||||||
const targetLines = (
|
const targetLines = (
|
||||||
entireFile ? lines : lines.slice(startLine, endLine)
|
entireFile ? lines : lines.slice(startLine, endLine + 1)
|
||||||
).join("\n");
|
).join("\n");
|
||||||
|
|
||||||
out +=
|
out +=
|
||||||
|
|
Loading…
Reference in a new issue