From ab0c519bbcf2c91c9ec7a5a678a4ae76d0c44b28 Mon Sep 17 00:00:00 2001 From: Dragon Fire Date: Mon, 8 Feb 2021 22:08:44 -0500 Subject: [PATCH] Fix --- util/Util.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/Util.js b/util/Util.js index c396e189..a283cf11 100644 --- a/util/Util.js +++ b/util/Util.js @@ -190,7 +190,7 @@ module.exports = class Util { return chars; } changed.push(newText.charAt(i)); - return i === oldText.length - 1 ? `**${changed.join('')}**` : ''; + return i === oldText.length - 1 ? `**${changed.join('')}${newText.slice(oldText.length)}**` : ''; }).join(''); }