From 8a9c9c1c79e5cfa831a468a04d441f79c577187b Mon Sep 17 00:00:00 2001 From: Abheek Dhawan Date: Sun, 4 Apr 2021 22:33:46 -0500 Subject: [PATCH] Use diff format for message edits --- bot.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.js b/bot.js index a2ee66b..fedb03a 100644 --- a/bot.js +++ b/bot.js @@ -724,7 +724,7 @@ client.on('messageUpdate', (originalMessage, editedMessage) => { .setColor('c9ff00'); if (editedMessage !== originalMessage) { - editEmbed.addField("Message", `<< ${originalMessage}\n>> ${editedMessage}`) + editEmbed.addField("Message", `\`\`\`diff\n+${originalMessage}\n+${editedMessage}\`\`\``) } if (editedMessage.attachments) { editEmbed.addField("Attachments", editedMessage.attachments.array().map(`[${a.name}](${a.url})`).join(' • '))