diff --git a/dist/Ragnar-1.3.37-py3-none-any.whl b/dist/Ragnar-1.3.37-py3-none-any.whl index 624e042..0cd79f7 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 849d951..bc54a89 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 eec12fd..14f26b4 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',''): + if "@ragnar" in comment.get("body", ""): print("Ragnar is mentioned, so flagging as sus comment.") return True if comment["user_score"] >= 5: