diff --git a/commands/Alliance/Awithdraw.js b/commands/Alliance/Awithdraw.js index 89bd333..a5cbe96 100644 --- a/commands/Alliance/Awithdraw.js +++ b/commands/Alliance/Awithdraw.js @@ -96,8 +96,8 @@ module.exports = { } else if (args[0] == "rep" || args[0] == "r" || args[0] == "reputation") { let amout; if (args[1] === "all") { - amout = alliance.bank; - } else if (args[1] > alliance.bank) { + amout = alliance.reputation; + } else if (args[1] > alliance.reputation) { const embed = new EmbedBuilder() .setTitle("Récuperation Impossible") .setDescription(