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() });