fix: update cooldown duration to a week
This commit is contained in:
parent
79076a49fc
commit
9cbe7cafcf
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue