diff options
author | 2023-06-13 11:44:48 +0530 | |
---|---|---|
committer | 2023-06-13 06:14:48 +0000 | |
commit | e466b4544362ca291275690fc1557bcf93995a90 (patch) | |
tree | f93ae4d0b116a9a2bf9c2c4d74e5472cb272fab1 | |
parent | Bump regex from 2023.5.5 to 2023.6.3 (#2637) (diff) |
Remove unnecessary pinning of nomination review message in #nomination-voting (#2633)
-rw-r--r-- | bot/exts/recruitment/talentpool/_review.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/bot/exts/recruitment/talentpool/_review.py b/bot/exts/recruitment/talentpool/_review.py index 5bd63f65e..76d9a87db 100644 --- a/bot/exts/recruitment/talentpool/_review.py +++ b/bot/exts/recruitment/talentpool/_review.py @@ -19,7 +19,7 @@ from bot.log import get_logger from bot.utils import time from bot.utils.channel import get_or_fetch_channel from bot.utils.members import get_or_fetch_member -from bot.utils.messages import count_unique_users_reaction, pin_no_system_message +from bot.utils.messages import count_unique_users_reaction if typing.TYPE_CHECKING: from bot.exts.utils.thread_bumper import ThreadBumper @@ -224,8 +224,6 @@ class Reviewer: log.info(f"Posting the review of {nominee} ({nominee.id})") messages = await self._bulk_send(channel, review) - await pin_no_system_message(messages[0]) - last_message = messages[-1] if reviewed_emoji: for reaction in (reviewed_emoji, "\N{THUMBS UP SIGN}", "\N{THUMBS DOWN SIGN}"): |