From 96c1d80844c81caa9d975a20f07c677ea47763b6 Mon Sep 17 00:00:00 2001 From: DuAnti7423 <82730507+DuAnti7423@users.noreply.github.com> Date: Sun, 23 May 2021 10:39:42 +0200 Subject: [PATCH] Update links.js ID Support, Boolean Changes --- commands/links.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/links.js b/commands/links.js index 703214d..653eee4 100755 --- a/commands/links.js +++ b/commands/links.js @@ -13,7 +13,7 @@ module.exports = { description: supportbot.LinksDesc, execute(message, args) { - if (supportbot.DeleteMessages == "true") message.delete(); + if (supportbot.DeleteMessages) message.delete(); console.log(`\u001b[32m`, `[${supportbot.Bot_Name}]:`, `\u001b[32m`, `${message.author.tag} has executed ${supportbot.Prefix}${supportbot.LinksCommand}!`);