From 52ae2c8d7e950c0bc94a43fc78cff2a58596930b Mon Sep 17 00:00:00 2001 From: loicbersier Date: Fri, 8 Nov 2019 19:42:22 +0100 Subject: [PATCH] Update cooldown --- commands/general/tweet.js | 2 +- commands/reserved/bsespam.js | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/commands/general/tweet.js b/commands/general/tweet.js index b5d68296..2099ef9e 100644 --- a/commands/general/tweet.js +++ b/commands/general/tweet.js @@ -12,7 +12,7 @@ class tweetCommand extends Command { super('tweet', { aliases: ['tweet'], category: 'general', - cooldown: 60, + cooldown: 3600000, ratelimit: 3, args: [ { diff --git a/commands/reserved/bsespam.js b/commands/reserved/bsespam.js index 89e5e6b7..b05b6be5 100644 --- a/commands/reserved/bsespam.js +++ b/commands/reserved/bsespam.js @@ -6,7 +6,7 @@ class bsespamCommand extends Command { aliases: ['bsespam'] , //Required category: 'reserved', //recommended channelRestriction: 'guild', //needed if you want to restrict where we can launch the command - cooldown: 3600, + cooldown: 1800000, ratelimit: 2, args: [ //if need args { @@ -28,8 +28,10 @@ class bsespamCommand extends Command { } async exec(message, args) { + /* if (message.author.id != '428387534842626048') return; + */ if (args.number <= 10) { for(let i = 0; i < args.number; i++) { message.channel.send(args.text);