From ed0e2887d5e44a83f8a7b0d6f05c5c35b9ce544c Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 10 Dec 2024 04:17:21 +0100 Subject: [PATCH] Update flagged checker. --- src/ragnar/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ragnar/bot.py b/src/ragnar/bot.py index 5ae5d80..6428a44 100644 --- a/src/ragnar/bot.py +++ b/src/ragnar/bot.py @@ -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