Another fix for stupid formatting

flake8 is bad?
This commit is contained in:
Marc Di Luzio 2024-08-12 23:05:48 +01:00
parent f51423aa42
commit f0498ad389

View file

@ -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")