From 77d968d3c456a54b81b7ba8772cde6d3fd2836a3 Mon Sep 17 00:00:00 2001 From: romain22222 Date: Mon, 31 Jul 2023 20:28:25 +0200 Subject: [PATCH] fix: #2097 --- src/commands/guild/GuildCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/guild/GuildCommand.ts b/src/commands/guild/GuildCommand.ts index d93683da2..52e8d702b 100644 --- a/src/commands/guild/GuildCommand.ts +++ b/src/commands/guild/GuildCommand.ts @@ -121,7 +121,7 @@ async function executeCommand(interaction: CommandInteraction, language: string, } ), guildPoints: guild.score, - ranking: ranking !== -1 ? guildModule.format("ranking", { + ranking: ranking > -1 ? guildModule.format("ranking", { rank: ranking, rankTotal: await Guilds.getTotalRanked() }) : guildModule.get("notRanked")