From d6e6dcf896c908f78f8e212346d15c17ec835242 Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 4 Apr 2021 22:43:35 -0500 Subject: [PATCH] Fixed edited message log signs for diff --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index 9541a7a..6acb99c 100644 --- a/bot.js +++ b/bot.js @@ -724,7 +724,7 @@ client.on('messageUpdate', (originalMessage, editedMessage) => { .setColor('c9ff00'); if (editedMessage !== originalMessage) { - editEmbed.addField("Message", `\`\`\`diff\n+${originalMessage}\n+${editedMessage}\`\`\``) + editEmbed.addField("Message", `\`\`\`diff\n-${originalMessage}\n\n+${editedMessage}\`\`\``) } if (editedMessage.attachments.array().length > 0) { editEmbed.addField("Attachments", editedMessage.attachments.array().map(a =>`[${a.name}](${a.url})`).join(' • '))