Make edit notification prefixes the same length

From "Before" and "After" to "B" and "A" respectively.
Makes it easier to compare small edits.
master
Miikka Virtanen 2017-07-24 02:09:39 +03:00
parent 32fa668770
commit 6a9e55ade0
1 changed files with 1 additions and 1 deletions

View File

@ -213,7 +213,7 @@ bot.on('messageUpdate', (msg, oldMessage) => {
threads.getForUser(bot, msg.author).then(thread => { threads.getForUser(bot, msg.author).then(thread => {
if (! thread) return; if (! thread) return;
const editMessage = utils.disableLinkPreviews(`**The user edited their message:**\n**Before:** ${oldContent}\n**After:** ${newContent}`); const editMessage = utils.disableLinkPreviews(`**The user edited their message:**\n**B:** ${oldContent}\n**A:** ${newContent}`);
bot.createMessage(thread.channelId, editMessage); bot.createMessage(thread.channelId, editMessage);
}); });