fix: update cooldown duration to a week
This commit is contained in:
parent
a078e7de83
commit
8a77d29e63
1 changed files with 2 additions and 0 deletions
|
@ -57,6 +57,8 @@ export const execute = async (interaction: ChatInputCommandInteraction) => {
|
|||
|
||||
await sendResponse(interaction, { embeds: [embed] });
|
||||
|
||||
const cooldownDuration = 7 * 24 * 60 * 60; // 1 week in seconds
|
||||
const cooldownName = await generateCooldownName(interaction);
|
||||
await cooldownManager.setCooldown(
|
||||
await generateCooldownName(interaction),
|
||||
guild,
|
||||
|
|
Loading…
Add table
Reference in a new issue