From c7b12d311d05131ec04bdeff6436bdea2eb64b08 Mon Sep 17 00:00:00 2001 From: *x1 Date: Wed, 29 May 2024 16:42:20 +0200 Subject: [PATCH] Update set.js --- commands/gestion/set.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/commands/gestion/set.js b/commands/gestion/set.js index a289890..fc8fda2 100644 --- a/commands/gestion/set.js +++ b/commands/gestion/set.js @@ -24,8 +24,8 @@ module.exports = { if (isNaN(args[0])) { title = 'Erreur'; description = '❌ Veuillez entrer un montant valide.'; - } else if (args[0] <= 0) { - title = 'Erreur'; + } else if (args[0] < 0) { + title = 'Erreur' description = '❌ Veuillez entrer un montant supérieur à 0.'; } else if (args[1] !== 'pocket' && args[1] !== 'bank' && args[1] !== 'reputation') { title = 'Erreur';