Update export statistics

This commit is contained in:
bot 2025-01-06 18:15:22 +00:00
parent b3ddac8f94
commit 1dc7c0d5ae
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',''): if "@ragnar" in comment.get("body", ""):
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: