From 24026737a7c13175a4a8c6e03ef9a9216b3a20fe Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Fri, 9 Aug 2024 23:16:33 +0100 Subject: [PATCH] Fix for python 3.11 --- matchy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/matchy.py b/matchy.py index 77dcb77..ce01482 100755 --- a/matchy.py +++ b/matchy.py @@ -79,7 +79,7 @@ async def match(interaction: discord.Interaction, group_min: int = None, matchee groups = matchees_to_groups(matchees, group_min) # 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 msg += f"\nYou'll need the {matcher.mention if matcher else 'Matcher'}" msg += " role to send this to the channel, sorry!"