From 1fee5967b441095e2221f4193aba360fd1828b7a Mon Sep 17 00:00:00 2001 From: *x1 Date: Tue, 25 Jun 2024 19:59:48 +0200 Subject: [PATCH] Update alliances --- commands/Alliance/Awithdraw.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(