From 9cbe7cafcffb793f66871dd06b24f464ac33a287 Mon Sep 17 00:00:00 2001 From: Elis Odenhage Date: Wed, 31 May 2023 21:53:49 +0200 Subject: [PATCH] fix: update cooldown duration to a week --- src/commands/credits/groups/bonus/subcommands/weekly/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/credits/groups/bonus/subcommands/weekly/index.ts b/src/commands/credits/groups/bonus/subcommands/weekly/index.ts index 15c7dd2..7efeedb 100644 --- a/src/commands/credits/groups/bonus/subcommands/weekly/index.ts +++ b/src/commands/credits/groups/bonus/subcommands/weekly/index.ts @@ -62,7 +62,7 @@ export const execute = async (interaction: ChatInputCommandInteraction) => { await sendResponse(interaction, { embeds: [embed] }); - const cooldownDuration = 24 * 60 * 60; // 24 hours in seconds + const cooldownDuration = 7 * 24 * 60 * 60; // 1 week in seconds const cooldownName = await generateCooldownName(interaction); await cooldownManager.setCooldown( cooldownName,