Skip to content

Commit bc8abd8

Browse files
committed
Fix regex for scheduled closes
1 parent 1201f21 commit bc8abd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -683,7 +683,7 @@ async def _process_blocked(self, message: discord.Message) -> bool:
683683
self.blocked_users.pop(str(message.author.id))
684684
else:
685685
reaction = blocked_emoji
686-
end_time = re.search(r"%(.+?)%$", reason)
686+
end_time = re.search(r"%(.+?)%", reason)
687687
if end_time is not None:
688688
logger.debug("No longer blocked, user %s.", message.author.name)
689689
after = (

0 commit comments

Comments
 (0)