Skip to content

Commit

Permalink
Merge branch 'SylteA:dev' into contribution
Browse files Browse the repository at this point in the history
  • Loading branch information
sarzz2 authored Nov 9, 2023
2 parents a2f8dfb + 556d3bd commit 87e7984
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/extensions/levelling/commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ async def rank(self, interaction: core.InteractionType, member: discord.Member =
return await interaction.response.send_message("That user is not ranked yet...", ephemeral=True)

# Fetch the user's avatar as bytes
avatar_bytes = await member.avatar.with_format("png").read()
avatar_bytes = await member.display_avatar.with_format("png").read()

level = utils.get_level_for_xp(record.total_xp)
prev_xp = utils.get_xp_for_level(level)
Expand Down

0 comments on commit 87e7984

Please sign in to comment.