Update export statistics
This commit is contained in:
Vendored
BIN
Binary file not shown.
Vendored
BIN
Binary file not shown.
+1
-2
@@ -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)))
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user