Make edit notification prefixes the same length
From "Before" and "After" to "B" and "A" respectively. Makes it easier to compare small edits.master
parent
32fa668770
commit
6a9e55ade0
|
@ -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);
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue