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';