From 0c793d73a6084e7e832859727d8945f0948b4ee3 Mon Sep 17 00:00:00 2001 From: Supositware Date: Mon, 19 Dec 2022 04:40:49 +0100 Subject: [PATCH] Fix cooldown (Was set to 1 hour, supposed to be 24 hours) --- commands/fun/tweet.js | 2 +- commands/utility/addytp.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/fun/tweet.js b/commands/fun/tweet.js index 4ed2430..29d3ffe 100644 --- a/commands/fun/tweet.js +++ b/commands/fun/tweet.js @@ -25,7 +25,7 @@ export default { .setRequired(false)), category: 'fun', ratelimit: 3, - cooldown: 3600, + cooldown: 86400, async execute(interaction, args, client) { const content = args.content; const attachment = args.image; diff --git a/commands/utility/addytp.js b/commands/utility/addytp.js index 0c384a8..5123483 100644 --- a/commands/utility/addytp.js +++ b/commands/utility/addytp.js @@ -15,7 +15,7 @@ export default { .setRequired(true)), category: 'utility', ratelimit: 5, - cooldown: 3600, + cooldown: 86400, async execute(interaction, args) { const url = args.url; if (!await utils.stringIsAValidurl(url)) {