Skip to content

Commit a078e7d

Browse files
fix: update cooldown duration to a month
1 parent 2d6e2cf commit a078e7d

File tree

1 file changed

+2
-0
lines changed
  • src/commands/credits/groups/bonus/subcommands/monthly

1 file changed

+2
-0
lines changed

src/commands/credits/groups/bonus/subcommands/monthly/index.ts

+2
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export const execute = async (interaction: ChatInputCommandInteraction) => {
6262

6363
await sendResponse(interaction, { embeds: [embed] });
6464

65+
const cooldownDuration = 4 * 7 * 24 * 60 * 60; // 1 month in seconds
66+
const cooldownName = await generateCooldownName(interaction);
6567
await cooldownManager.setCooldown(
6668
await generateCooldownName(interaction),
6769
guild,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy