Fix for python 3.11

This commit is contained in:
Marc Di Luzio 2024-08-09 23:16:33 +01:00
parent fcba566e16
commit 24026737a7

View file

@ -79,7 +79,7 @@ async def match(interaction: discord.Interaction, group_min: int = None, matchee
groups = matchees_to_groups(matchees, group_min) groups = matchees_to_groups(matchees, group_min)
# Post about all the groups with a button to send to the channel # Post about all the groups with a button to send to the channel
msg = f"{'\n'.join(group_to_message(g) for g in groups)}" msg = '\n'.join(group_to_message(g) for g in groups)
if not matcher: # Let a non-matcher know why they don't have the button if not matcher: # Let a non-matcher know why they don't have the button
msg += f"\nYou'll need the {matcher.mention if matcher else 'Matcher'}" msg += f"\nYou'll need the {matcher.mention if matcher else 'Matcher'}"
msg += " role to send this to the channel, sorry!" msg += " role to send this to the channel, sorry!"