diff --git a/dist/Ragnar-1.3.37-py3-none-any.whl b/dist/Ragnar-1.3.37-py3-none-any.whl index 09d3bce..4628ff8 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 aac70b6..c1be7d3 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 cd80c32..5da9753 100644 --- a/src/ragnar/bot.py +++ b/src/ragnar/bot.py @@ -127,7 +127,6 @@ class Bot: log.debug("{}: Already checked rant {}.".format(self.name, rant["id"])) continue - if not self.is_user_sus(rant["user_username"]): log.info( "{}: User {} is trusted.".format(self.name, rant["user_username"]) @@ -160,7 +159,7 @@ class Bot: self.mark_as_sus(rant) self.down_vote_rant(rant) self.rant_history.append(rant["id"]) - + def down_vote_rant(self, rant): log.warning("Downvoting rant by {}.".format(rant["user_username"])) log.debug(json.loads(self.api.post_rant_vote(rant["id"], -1))) diff --git a/src/ragnar/tests/__pycache__/__init__.cpython-310.pyc b/src/ragnar/tests/__pycache__/__init__.cpython-310.pyc index 92fdb44..c3496d8 100644 Binary files a/src/ragnar/tests/__pycache__/__init__.cpython-310.pyc and b/src/ragnar/tests/__pycache__/__init__.cpython-310.pyc differ diff --git a/src/ragnar/tests/__pycache__/bot.cpython-310.pyc b/src/ragnar/tests/__pycache__/bot.cpython-310.pyc index 9719bd9..50568d7 100644 Binary files a/src/ragnar/tests/__pycache__/bot.cpython-310.pyc and b/src/ragnar/tests/__pycache__/bot.cpython-310.pyc differ