fix: update cooldown duration to a month
This commit is contained in:
parent
cba7e6a706
commit
79076a49fc
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ export const execute = async (interaction: ChatInputCommandInteraction) => {
|
|||
|
||||
await sendResponse(interaction, { embeds: [embed] });
|
||||
|
||||
const cooldownDuration = 24 * 60 * 60; // 24 hours in seconds
|
||||
const cooldownDuration = 4 * 7 * 24 * 60 * 60; // 1 month in seconds
|
||||
const cooldownName = await generateCooldownName(interaction);
|
||||
await cooldownManager.setCooldown(
|
||||
cooldownName,
|
||||
|
|
Loading…
Add table
Reference in a new issue