This commit is contained in:
Watchful1
2020-12-13 18:41:17 -08:00
parent 4b8f8de143
commit 236e40ac97

View File

@@ -17,7 +17,7 @@ USER_AGENT = 'PointsBot (by u/GlipGlorp7)'
# The pattern that determines whether a post is marked as solved # The pattern that determines whether a post is marked as solved
# Could also use re.IGNORECASE flag instead # Could also use re.IGNORECASE flag instead
SOLVED_PATTERN = re.compile('![Ss]olved') SOLVED_PATTERN = re.compile('![Ss]olved')
MOD_SOLVED_PATTERN = re.compile('/[Ss]olved|') MOD_SOLVED_PATTERN = re.compile('/[Ss]olved')
MOD_REMOVE_PATTERN = re.compile('/[Rr]emove[Pp]oint') MOD_REMOVE_PATTERN = re.compile('/[Rr]emove[Pp]oint')
### Main Function ### ### Main Function ###