From 14df15caebcda1abeb87d12abf757349554715fd Mon Sep 17 00:00:00 2001 From: DuAnti7423 <82730507+DuAnti7423@users.noreply.github.com> Date: Sun, 23 May 2021 10:40:03 +0200 Subject: [PATCH] Update ping.js ID Support, Boolean Changes --- commands/ping.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/ping.js b/commands/ping.js index 9f3e45a..b3a26f8 100755 --- a/commands/ping.js +++ b/commands/ping.js @@ -12,7 +12,7 @@ module.exports = { description: supportbot.PingDesc, 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.PingCommand}!`)