diff --git a/dist/Ragnar-1.3.37-py3-none-any.whl b/dist/Ragnar-1.3.37-py3-none-any.whl index 0cd79f7..f3b1271 100644 Binary files a/dist/Ragnar-1.3.37-py3-none-any.whl and b/dist/Ragnar-1.3.37-py3-none-any.whl differ diff --git a/dist/ragnar-1.3.37.tar.gz b/dist/ragnar-1.3.37.tar.gz index bc54a89..429abaa 100644 Binary files a/dist/ragnar-1.3.37.tar.gz and b/dist/ragnar-1.3.37.tar.gz differ diff --git a/src/ragnar/bot.py b/src/ragnar/bot.py index 47bc60f..c306e1e 100644 --- a/src/ragnar/bot.py +++ b/src/ragnar/bot.py @@ -116,7 +116,7 @@ class Bot: rant = self.api.get_rant(rant_id) for comment in rant.get("comments", []): print("Checking if sus comment: ", comment["body"]) - if '@ragnar' in comment.get('body','').lower(): + if "@ragnar" in comment.get("body", "").lower(): print("Ragnar is mentioned, so flagging as sus comment.") return True if comment["user_score"] >= 5: