From 965985f82deddb0d7b09996f4e6c515e0e137085 Mon Sep 17 00:00:00 2001 From: TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> Date: Sun, 11 Mar 2018 22:19:21 -0400 Subject: trey named wrong oop --- commands/Fun/getcredits.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/Fun/getcredits.js b/commands/Fun/getcredits.js index c3cab5f..44f3c7d 100644 --- a/commands/Fun/getcredits.js +++ b/commands/Fun/getcredits.js @@ -27,9 +27,9 @@ exports.run = (bot, msg) => { bot.plugins.economy.add(msg.author.id, 25); msg.reply('Added 25 credits.'); - talkedRecently.add(msg.author.id); + commandCooldown.add(msg.author.id); setTimeout(() => { - talkedRecently.delete(msg.author.id); + commandCooldown.delete(msg.author.id); }, 3600000); }; -- cgit v1.2.3