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 +};