Skip to content

Commit

Permalink
fix: #2097
Browse files Browse the repository at this point in the history
  • Loading branch information
romain22222 authored and BastLast committed Jul 31, 2023
1 parent 0f66ac1 commit 77d968d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/guild/GuildCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 77d968d

Please sign in to comment.