diff options
author | 2023-06-21 18:59:43 +0100 | |
---|---|---|
committer | 2023-06-21 20:42:42 +0100 | |
commit | 0d104aefa1bdcf6d183398860c951a23f76cea6b (patch) | |
tree | 4e502bc659b7232d98c65a8942a0d67c089b9187 | |
parent | Update 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.py | 2 |
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 ) |