From e684c68229810c92f0afb776e202e9ffe76bff40 Mon Sep 17 00:00:00 2001 From: ScottishCrafter_ Date: Sun, 22 Feb 2026 16:41:55 +0000 Subject: [PATCH] Updated to accept !solved & !helped and /solved or /helped --- pointsbot/bot.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pointsbot/bot.py b/pointsbot/bot.py index 50d78cc..dcc0087 100644 --- a/pointsbot/bot.py +++ b/pointsbot/bot.py @@ -14,8 +14,8 @@ from . import config, database, level, reply USER_AGENT = 'PointsBot (by u/GlipGlorp7)' # The pattern that determines whether a post is marked as solved -SOLVED_PATTERN = re.compile('![Hh]elped') -MOD_SOLVED_PATTERN = re.compile('/[Hh]elped') +SOLVED_PATTERN = re.compile('!([Hh]elped|[Ss]olved)') +MOD_SOLVED_PATTERN = re.compile('/([Hh]elped|[Ss]olved)') MOD_REMOVE_PATTERN = re.compile('/[Rr]emove[Pp]oint')