From 0eeb8b724a5f1ebb2030e7df01d0a0057cfe1cc7 Mon Sep 17 00:00:00 2001 From: Neko Life Date: Fri, 14 May 2021 19:29:19 +0000 Subject: [PATCH] timestamp only allowed --- cmds/utility/embmaker.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cmds/utility/embmaker.js b/cmds/utility/embmaker.js index 062a009..d405391 100644 --- a/cmds/utility/embmaker.js +++ b/cmds/utility/embmaker.js @@ -263,15 +263,12 @@ module.exports = class embmaker extends commando.Command { if (autName || autIcon && embed.author !== null) { embed.setAuthor(autName,autIcon,autUrl); } - if (!footertext && footericon) { + if (!footertext && footericon || !footertext && embed.timestamp) { footertext = '​'; } if (footertext || footericon && embed.footer !== null) { embed.setFooter(footertext,footericon); } - if (embed.timestamp && embed.description === null && !embed.footer) { - embed.setFooter('​', footericon); - } if (embed.length === 0 && (embed.thumbnail === null || embed.thumbnail.url === null) && embed.author === null && (embed.image === null || embed.image.url === null) && embed.timestamp === null) { embed.setDescription('​'); }