From d0bd476f7ab17198f3b7bb28c93dbb06434b9f15 Mon Sep 17 00:00:00 2001 From: *x1 Date: Mon, 27 May 2024 02:17:20 +0200 Subject: [PATCH] upade : 60min -> 45min --- commands/casino/work.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/casino/work.js b/commands/casino/work.js index b425f8f..37c1a1d 100644 --- a/commands/casino/work.js +++ b/commands/casino/work.js @@ -19,10 +19,10 @@ module.exports = { const lastWork = user.lastWork const pocket = user.pocket - if (lastWork > Date.now() - 3600000) { + if (lastWork > Date.now() - 2700000) { const embed = new EmbedBuilder() .setTitle('Travail Impossible') - .setDescription(`❌ Vous avez déjà travaillé récemment. Veuillez attendre ${Math.floor((lastWork + 3600000 - Date.now()) / 60000)} minutes avant de pouvoir travailler à nouveau.`) + .setDescription(`❌ Vous avez déjà travaillé récemment. Veuillez attendre ${Math.floor((lastWork + 2700000 - Date.now()) / 60000)} minutes avant de pouvoir travailler à nouveau.`) .setColor(await embedColor(message.author.id, message.guild.id)) .setTimestamp() .setFooter({ text: `Demandé par ${message.author.tag}`, iconURL: message.author.displayAvatarURL() });