aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Chris Lovering <[email protected]>2023-06-21 18:59:43 +0100
committerGravatar Chris Lovering <[email protected]>2023-06-21 20:42:42 +0100
commit0d104aefa1bdcf6d183398860c951a23f76cea6b (patch)
tree4e502bc659b7232d98c65a8942a0d67c089b9187
parentUpdate MockAttachment data with new expected fields (diff)
Update NOMINATION_MESSAGE_REGEX for new discord.User.__str__ behaviour
-rw-r--r--bot/exts/recruitment/talentpool/_review.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/recruitment/talentpool/_review.py b/bot/exts/recruitment/talentpool/_review.py
index 76d9a87db..241656853 100644
--- a/bot/exts/recruitment/talentpool/_review.py
+++ b/bot/exts/recruitment/talentpool/_review.py
@@ -46,7 +46,7 @@ REVIEW_SCORE_WEIGHT = 1.5
# Regex for finding the first message of a nomination, and extracting the nominee.
NOMINATION_MESSAGE_REGEX = re.compile(
- r"<@!?(\d+)> \(.+#\d{4}\) for Helper!\n\n",
+ r"<@!?(\d+)> \(.+(#\d{4})?\) for Helper!\n\n",
re.MULTILINE
)