Update.
Some checks are pending
Build Ragnar anti spam bot / Build (push) Waiting to run

This commit is contained in:
retoor 2024-12-10 04:17:55 +01:00
parent ed0e2887d5
commit 532a102719

View File

@ -95,7 +95,7 @@ class Bot:
self.rsleepii() self.rsleepii()
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", []):
if self.names.get(self.username,"") in comment.get("body", ""): if self.names.get(self.username, "") in comment.get("body", ""):
return True return True
return False return False