fix: update cooldown duration to a week

This commit is contained in:
Elis Odenhage 2023-05-31 21:53:49 +02:00 committed by Vermium Sifell
parent 79076a49fc
commit 9cbe7cafcf

View file

@ -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,