From b04ef2a7bd31b01f5a4b286dfc591153488cff9a Mon Sep 17 00:00:00 2001 From: Emily J Date: Tue, 2 Mar 2021 09:35:35 +1100 Subject: [PATCH] up cooldown to prevent api abuse --- bot/commands/Splatoon/salmonrun.js | 2 +- bot/commands/Splatoon/splatnet.js | 2 +- bot/commands/Splatoon/splatoonmaps.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bot/commands/Splatoon/salmonrun.js b/bot/commands/Splatoon/salmonrun.js index 6ee80e1..2f4b6ad 100644 --- a/bot/commands/Splatoon/salmonrun.js +++ b/bot/commands/Splatoon/salmonrun.js @@ -11,7 +11,7 @@ module.exports = class { this.aliases = [], this.userPerms = [], this.botPerms = [], - this.cooldown = 5000, + this.cooldown = 30000, this.help = { description: 'Get current map, weapons and gear for salmon run.', arguments: '', diff --git a/bot/commands/Splatoon/splatnet.js b/bot/commands/Splatoon/splatnet.js index 07b4441..c873a3f 100644 --- a/bot/commands/Splatoon/splatnet.js +++ b/bot/commands/Splatoon/splatnet.js @@ -11,7 +11,7 @@ module.exports = class { this.aliases = [], this.userPerms = [], this.botPerms = [], - this.cooldown = 5000, + this.cooldown = 30000, this.help = { description: 'See what is currently on offer in the splatnet shop', arguments: '', diff --git a/bot/commands/Splatoon/splatoonmaps.js b/bot/commands/Splatoon/splatoonmaps.js index 32fb970..a911171 100644 --- a/bot/commands/Splatoon/splatoonmaps.js +++ b/bot/commands/Splatoon/splatoonmaps.js @@ -11,7 +11,7 @@ module.exports = class { this.aliases = ['splatoonmodes'], this.userPerms = [], this.botPerms = [], - this.cooldown = 5000, + this.cooldown = 30000, this.help = { description: 'Get current and upcoming maps and modes for regular, ranked and league battles.', arguments: '',