From 5631b24a144be02cd99439201d260aea426b3d56 Mon Sep 17 00:00:00 2001 From: Two Date: Mon, 27 Jul 2020 10:43:36 -0400 Subject: [PATCH] Update links.js --- commands/links.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/commands/links.js b/commands/links.js index 4282cad..4f3746f 100644 --- a/commands/links.js +++ b/commands/links.js @@ -13,6 +13,7 @@ module.exports = { description: supportbot.LinksDesc, execute(message, args) { + if (supportbot.DeleteMessages == "true") message.delete(); const LinksEmbed = new Discord.MessageEmbed() .setColor(supportbot.EmbedColour) @@ -30,4 +31,4 @@ module.exports = { message.channel.send({ embed: LinksEmbed }); } -}; \ No newline at end of file +};