Skip to content

Commit

Permalink
fix: update cooldown duration to a month
Browse files Browse the repository at this point in the history
  • Loading branch information
Mastergamer433 authored and VermiumSifell committed May 31, 2023
1 parent cba7e6a commit 79076a4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export const execute = async (interaction: ChatInputCommandInteraction) => {

await sendResponse(interaction, { embeds: [embed] });

const cooldownDuration = 24 * 60 * 60; // 24 hours in seconds
const cooldownDuration = 4 * 7 * 24 * 60 * 60; // 1 month in seconds
const cooldownName = await generateCooldownName(interaction);
await cooldownManager.setCooldown(
cooldownName,
Expand Down

0 comments on commit 79076a4

Please sign in to comment.