Update export statistics

This commit is contained in:
bot 2025-01-06 23:42:46 +00:00
parent ffd407ac66
commit f447a2d0bf
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Binary file not shown.

View File

@ -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 '@ragnar' in comment.get('body','').lower(): if "@ragnar" in comment.get("body", "").lower():
print("Ragnar is mentioned, so flagging as sus comment.") print("Ragnar is mentioned, so flagging as sus comment.")
return True return True
if comment["user_score"] >= 5: if comment["user_score"] >= 5: