From 66314b5c791d3f5fa7c504cdf217325f69832d03 Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 1 May 2020 07:35:01 +0200 Subject: [PATCH] Use description instead of title Signed-off-by: loicbersier --- event/listeners/log/messageDelete.js | 4 ++-- event/listeners/log/messageUpdate.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/event/listeners/log/messageDelete.js b/event/listeners/log/messageDelete.js index 12f2ba18..95e8b580 100644 --- a/event/listeners/log/messageDelete.js +++ b/event/listeners/log/messageDelete.js @@ -16,8 +16,8 @@ class messageDeleteListener extends Listener { let Embed = this.client.util.embed() .setColor('NAVY') .setAuthor(`${message.author.username}#${message.author.discriminator}`) - .setTitle(`${message.author.username} deleted their message in ${message.channel.name}`) - .setDescription(message) + .setDescription(`**${message.author} deleted their message in ${message.channel}**`) + .addField('Message deleted', message) .setFooter(`Author ID: ${message.author.id}`) .setTimestamp(); diff --git a/event/listeners/log/messageUpdate.js b/event/listeners/log/messageUpdate.js index 80417e0e..dbd8ae63 100644 --- a/event/listeners/log/messageUpdate.js +++ b/event/listeners/log/messageUpdate.js @@ -16,7 +16,7 @@ class messageUpdateListener extends Listener { let Embed = this.client.util.embed() .setColor('NAVY') .setAuthor(`${newMessage.author.username}#${newMessage.author.discriminator}`, newMessage.author.displayAvatarURL()) - .setTitle(`${newMessage.author.username} modified their message in ${newMessage.channel.name}`) + .setDescription(`**${newMessage.author} modified their message in ${newMessage.channel}**`) .addField('Previously', oldMessage, true) .addField('Currently', newMessage, true) .setFooter(`Author ID: ${newMessage.author.id}, Message ID: ${newMessage.id}`)