Skip to content

Commit

Permalink
Merge pull request #657 from ZynerOrg/dev
Browse files Browse the repository at this point in the history
Fix cooldowns for credits bonus commands
  • Loading branch information
VermiumSifell authored May 31, 2023
2 parents cba7e6a + 9cbe7ca commit 4153b01
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
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 4153b01

Please sign in to comment.