fix: update cooldown duration to a month
This commit is contained in:
parent
2d6e2cfe5e
commit
a078e7de83
1 changed files with 2 additions and 0 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue