commit | 9d9ce0e362bfced78af1c79ed1e1c1a550f0517f | [log] [tgz] |
---|---|---|
author | TheCodedProf <samuel.shuert@gmail.com> | Tue Jun 06 17:16:02 2023 -0400 |
committer | TheCodedProf <samuel.shuert@gmail.com> | Tue Jun 06 17:16:02 2023 -0400 |
tree | 6232c7079b5b6c84288577f7de10a906e1202c2a | |
parent | 32302c92cb2a6955009681288a6b58d8950cc0c5 [diff] [blame] |
fixed highlighting
diff --git a/src/events/messageEdit.ts b/src/events/messageEdit.ts index bc85353..bca652e 100644 --- a/src/events/messageEdit.ts +++ b/src/events/messageEdit.ts
@@ -85,7 +85,7 @@ if (part.added || part.removed) { part.value = part.value.replaceAll(" ", "▁"); } - contentEdit += (part.added ? green : part.removed ? red : reset) + part.value; + contentEdit += (part.added ? green : part.removed ? red : "") + part.value + reset; } }); contentEdit = contentEdit.slice(0, 2000);