From 969dbbed02f5e607e984f3a7a82988e8a5b37ff3 Mon Sep 17 00:00:00 2001 From: Someone Date: Mon, 10 Jan 2022 01:16:17 +0100 Subject: [PATCH] modules/WSAlliterationAssociation.py --- modules/WSAlliterationAssociation.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/modules/WSAlliterationAssociation.py b/modules/WSAlliterationAssociation.py index 4669e7a..13a0c5f 100644 --- a/modules/WSAlliterationAssociation.py +++ b/modules/WSAlliterationAssociation.py @@ -24,9 +24,6 @@ class WSAlliterationAssociation(AbstractWSHandler): if post["user_id"] == self.bot.api._my_user_id: return False -# if post["message"][0][0] in ["#", "`"]: -# return True - message = re.sub(r"\s+", " ", re.sub(r"[^\w\.\:;\!\?~@\n ]+", " ", post["message"])) sentences = [s.strip() for s in re.split(r"\.|\:|;|\!|\?|~|@|\n", message)] -- 2.43.0