From 74efbf2e48a1c2d100b5971c0907fcd8555c331e Mon Sep 17 00:00:00 2001 From: Riccardo Fano Date: Mon, 15 Sep 2025 13:21:04 +0200 Subject: [PATCH] Cooldown and fixed wording --- src/commands/duel.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/commands/duel.ts b/src/commands/duel.ts index 319ec3d..781eccc 100644 --- a/src/commands/duel.ts +++ b/src/commands/duel.ts @@ -25,8 +25,8 @@ import { } from '../utils/CommandUtils.js' import { shuffleArray } from '../utils/Helpers.js' -export const DUEL_COOLDOWN = 10 * 10 * 1000 // Cooldown period after loss in milliseconds -const GLOBAL_DUEL_TIMEOUT_DURATION = 5 * 10 * 1000 +export const DUEL_COOLDOWN = 10 * 60 * 1000 // Cooldown period after loss in milliseconds +const GLOBAL_DUEL_TIMEOUT_DURATION = 5 * 60 * 1000 const NAMED_DUEL_TIMEOUT_DURATION = 1 * 60 * 1000 const DRAW_TIMEOUT_DURATION = 10 * 60 * 1000 @@ -115,7 +115,7 @@ class Duel { timeoutDuration = NAMED_DUEL_TIMEOUT_DURATION content = `${wagerMsg}${challenger} is looking for a duel against ${wantedAccepter}, press the button to accept.` - failedDuelContent = `${wagerMsg}${wantedAccepter} failed accept ${challenger}'s duel.` + failedDuelContent = `${wagerMsg}${wantedAccepter} failed to accept ${challenger}'s duel.` } // Are we on global CD?