Skip to content

Commit

Permalink
fix: update cooldown duration to a week
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastergamer433 authored and VermiumSifell committed May 31, 2023
1 parent 79076a4 commit 9cbe7ca
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 9cbe7ca

Please sign in to comment.