Update the thread name to have the members
This commit is contained in:
parent
3ea779f7f2
commit
bebef9d38a
3 changed files with 8 additions and 4 deletions
|
@ -202,7 +202,7 @@ class DynamicGroupButton(discord.ui.DynamicItem[discord.ui.Button],
|
|||
# Set up a thread for this match if the bot has permissions to do so
|
||||
if intrctn.channel.permissions_for(intrctn.guild.me).create_public_threads:
|
||||
await intrctn.channel.create_thread(
|
||||
name=f"{util.format_today()} Group {chr(65 + idx)}",
|
||||
name=f"{util.format_list([m.display_name for m in group])}",
|
||||
message=message,
|
||||
reason="Creating a matching thread")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue