From a078e7de83fe2735648486345a8b593c529f0ddd Mon Sep 17 00:00:00 2001 From: Elis Odenhage Date: Wed, 31 May 2023 21:53:20 +0200 Subject: [PATCH] fix: update cooldown duration to a month --- src/commands/credits/groups/bonus/subcommands/monthly/index.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/commands/credits/groups/bonus/subcommands/monthly/index.ts b/src/commands/credits/groups/bonus/subcommands/monthly/index.ts index 41b7c73..34fa043 100644 --- a/src/commands/credits/groups/bonus/subcommands/monthly/index.ts +++ b/src/commands/credits/groups/bonus/subcommands/monthly/index.ts @@ -62,6 +62,8 @@ export const execute = async (interaction: ChatInputCommandInteraction) => { await sendResponse(interaction, { embeds: [embed] }); + const cooldownDuration = 4 * 7 * 24 * 60 * 60; // 1 month in seconds + const cooldownName = await generateCooldownName(interaction); await cooldownManager.setCooldown( await generateCooldownName(interaction), guild,