From a8a3a61e455f1d0bc25a3e03e0789fb6ddf615f8 Mon Sep 17 00:00:00 2001 From: Sylte Date: Mon, 23 Oct 2023 21:53:29 +0200 Subject: [PATCH] damn, bugfix again --- bot/extensions/levelling/commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/extensions/levelling/commands.py b/bot/extensions/levelling/commands.py index 151e3d66..0331ed8f 100644 --- a/bot/extensions/levelling/commands.py +++ b/bot/extensions/levelling/commands.py @@ -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