From f0498ad3899c389beadd95f830eb5a907e59b8ce Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Mon, 12 Aug 2024 23:05:48 +0100 Subject: [PATCH] Another fix for stupid formatting flake8 is bad? --- py/matchy.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/py/matchy.py b/py/matchy.py index f75a7c5..14693e3 100755 --- a/py/matchy.py +++ b/py/matchy.py @@ -275,8 +275,7 @@ async def match_groups_in_channel(channel: discord.channel, min: int): # Set up a thread for this match if the bot has permissions to do so if channel.permissions_for(channel.guild.me).create_public_threads: await channel.create_thread( - name=f"{util.format_list( - [m.display_name for m in group])}", + name=util.format_list([m.display_name for m in group]), message=message, reason="Creating a matching thread")