Update export statistics
This commit is contained in:
parent
aedf6757f6
commit
dbdcb93cab
BIN
dist/Ragnar-1.3.37-py3-none-any.whl
vendored
BIN
dist/Ragnar-1.3.37-py3-none-any.whl
vendored
Binary file not shown.
BIN
dist/ragnar-1.3.37.tar.gz
vendored
BIN
dist/ragnar-1.3.37.tar.gz
vendored
Binary file not shown.
@ -116,7 +116,7 @@ class Bot:
|
|||||||
rant = self.api.get_rant(rant_id)
|
rant = self.api.get_rant(rant_id)
|
||||||
for comment in rant.get("comments", []):
|
for comment in rant.get("comments", []):
|
||||||
print("Checking if sus comment: ", comment["body"])
|
print("Checking if sus comment: ", comment["body"])
|
||||||
if comment['user_score'] >= 5:
|
if comment["user_score"] >= 5:
|
||||||
print("User has reputation >= 5 so not sus.")
|
print("User has reputation >= 5 so not sus.")
|
||||||
continue
|
continue
|
||||||
if self.is_sus_content(comment.get("body", "")):
|
if self.is_sus_content(comment.get("body", "")):
|
||||||
|
Loading…
Reference in New Issue
Block a user