From 5049c307323d6b717625ec29f514757b907c5a57 Mon Sep 17 00:00:00 2001 From: TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> Date: Sun, 11 Mar 2018 22:20:56 -0400 Subject: i just learned this exists so I am trying to make it work --- commands/Fun/getcredits.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/commands/Fun/getcredits.js b/commands/Fun/getcredits.js index 44f3c7d..26aaf61 100644 --- a/commands/Fun/getcredits.js +++ b/commands/Fun/getcredits.js @@ -17,10 +17,9 @@ * along with this program. If not, see . * * *************************************/ +const commandCooldown = new Set(); exports.run = (bot, msg) => { - const commandCooldown = new Set(); - if (commandCooldown.has(msg.author.id)) return msg.reply('You have claimed credits too recently') -- cgit v1.2.3