Another fix for stupid formatting
flake8 is bad?
This commit is contained in:
parent
f51423aa42
commit
f0498ad389
1 changed files with 1 additions and 2 deletions
|
@ -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
|
# 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:
|
if channel.permissions_for(channel.guild.me).create_public_threads:
|
||||||
await channel.create_thread(
|
await channel.create_thread(
|
||||||
name=f"{util.format_list(
|
name=util.format_list([m.display_name for m in group]),
|
||||||
[m.display_name for m in group])}",
|
|
||||||
message=message,
|
message=message,
|
||||||
reason="Creating a matching thread")
|
reason="Creating a matching thread")
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue