Skip to content

Commit

Permalink
Merge pull request #240 from SylteA/dev
Browse files Browse the repository at this point in the history
damn, bugfix again
  • Loading branch information
SylteA authored Oct 23, 2023
2 parents 44db8a1 + a8a3a61 commit a8e7c35
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 a8e7c35

Please sign in to comment.