Compare commits

...

2 Commits

Author SHA1 Message Date
532a102719 Update.
Some checks are pending
Build Ragnar anti spam bot / Build (push) Waiting to run
2024-12-10 04:18:19 +01:00
ed0e2887d5 Update flagged checker. 2024-12-10 04:18:19 +01:00

View File

@ -95,7 +95,7 @@ class Bot:
self.rsleepii()
rant = self.api.get_rant(rant_id)
for comment in rant.get("comments", []):
if self.mark_text in comment.get("body", ""):
if self.names.get(self.username, "") in comment.get("body", ""):
return True
return False