Skip to content

Commit

Permalink
damn, bugfix again
Browse files Browse the repository at this point in the history
  • Loading branch information
SylteA committed Oct 23, 2023
1 parent a8407d5 commit a8a3a61
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 @@ -290,7 +290,7 @@ async def rank(self, interaction: core.InteractionType, member: discord.Member =
# Run the image generation in a thread to avoid blocking
loop = asyncio.get_event_loop()
result = await loop.run_in_executor(
None, self.generate_rank_image, member, avatar_bytes, record.count + 1, level, curr_xp, next_xp
None, self.generate_rank_image, member.display_name, avatar_bytes, record.count + 1, level, curr_xp, next_xp
)

# Send result as image
Expand Down

0 comments on commit a8a3a61

Please sign in to comment.