From f66b496b22698319d91e20379cc2ee3972cb1a6a Mon Sep 17 00:00:00 2001 From: nexy7574 Date: Fri, 3 May 2024 20:35:33 +0100 Subject: [PATCH] Fix missing comma --- src/cogs/election.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cogs/election.py b/src/cogs/election.py index 2a9667f..fd84652 100644 --- a/src/cogs/election.py +++ b/src/cogs/election.py @@ -13,7 +13,7 @@ from discord.ext import commands SPAN_REGEX = re.compile( - r"^(?P(\D+)(?P[0-9,]+)\scouncillors\s(?P[0-9,]+)\scouncillors\s(?P(gained|lost))$" + r"^(?P\D+)(?P[0-9,]+)\scouncillors\s(?P[0-9,]+)\scouncillors\s(?P(gained|lost))$" ) MULTI: dict[str, int] = { "gained": 1,