diff --git a/bot/extensions/levelling/commands.py b/bot/extensions/levelling/commands.py index 4ff0ae05..eae67cb3 100644 --- a/bot/extensions/levelling/commands.py +++ b/bot/extensions/levelling/commands.py @@ -289,7 +289,7 @@ async def rank(self, interaction: core.InteractionType, member: discord.Member = level = utils.get_level_for_xp(record.total_xp) prev_xp = utils.get_xp_for_level(level) - next_xp = utils.get_xp_for_level(level + 1) + next_xp = utils.get_xp_for_level(level + 1) - prev_xp curr_xp = record.total_xp - prev_xp # Run the image generation in a thread to avoid blocking