From 57602e33facba3e77e1692a53e508131866e965d Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 1 May 2020 03:34:59 +0200 Subject: [PATCH] Removed empty field Signed-off-by: loicbersier --- event/listeners/log/channelUpdate.js | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/event/listeners/log/channelUpdate.js b/event/listeners/log/channelUpdate.js index 014f268a..05e28449 100644 --- a/event/listeners/log/channelUpdate.js +++ b/event/listeners/log/channelUpdate.js @@ -20,26 +20,22 @@ class channelUpdateListener extends Listener { .setTimestamp(); if (oldChannel.name !== newChannel.name) { - Embed.addField('​', '​') - .addField('Previous channel', oldChannel.name, true) + Embed.addField('Previous channel', oldChannel.name, true) .addField('New channel', newChannel.name, true); } if (oldChannel.topic !== newChannel.topic) { - Embed.addField('​', '​') - .addField('Previous channel topic', oldChannel.topic, true) + Embed.addField('Previous channel topic', oldChannel.topic, true) .addField('New channel topic', newChannel.topic, true); } if (oldChannel.nsfw !== newChannel.nsfw) { - Embed.addField('​', '​') - .addField('Previous channel nsfw', oldChannel.nsfw, true) + Embed.addField('Previous channel nsfw', oldChannel.nsfw, true) .addField('New channel nsfw', newChannel.nsfw, true); } if (oldChannel.rateLimitPerUser !== newChannel.rateLimitPerUser) { - Embed.addField('​', '​') - .addField('Previous channel slowmode', `${oldChannel.rateLimitPerUser} seconds`, true) + Embed.addField('Previous channel slowmode', `${oldChannel.rateLimitPerUser} seconds`, true) .addField('New channel slowmode', `${newChannel.rateLimitPerUser} seconds`, true); }