codePreviews: fix lines being cut off

This commit is contained in:
Cynthia Foxwell 2022-05-07 17:02:34 -06:00
parent fa90552c2a
commit 4c681a137e
1 changed files with 1 additions and 1 deletions

View File

@ -74,7 +74,7 @@ events.add("messageCreate", "codePreviews", async function (msg) {
endLine--;
const targetLines = (
entireFile ? lines : lines.slice(startLine, endLine)
entireFile ? lines : lines.slice(startLine, endLine + 1)
).join("\n");
out +=