aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--commands/Fun/getcredits.js4
1 files 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);
};