diff options
| author | TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> | 2018-03-11 22:19:21 -0400 |
|---|---|---|
| committer | TheEdgeNK <32907415+TheEdgeNK@users.noreply.github.com> | 2018-03-11 22:19:21 -0400 |
| commit | 965985f82deddb0d7b09996f4e6c515e0e137085 (patch) | |
| tree | 9bc3f6375ae0fb50b41fd1b83bc657ea4fa3aef5 | |
| parent | 04abe1ecfac0d42d54315e41c9c8f42173205725 (diff) | |
| download | PokeBot-965985f82deddb0d7b09996f4e6c515e0e137085.tar.gz PokeBot-965985f82deddb0d7b09996f4e6c515e0e137085.tar.bz2 PokeBot-965985f82deddb0d7b09996f4e6c515e0e137085.zip | |
trey named wrong oop
| -rw-r--r-- | commands/Fun/getcredits.js | 4 |
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); }; |
