From 532a1027198bf5f6e9fcfbb47bfca15b6204e821 Mon Sep 17 00:00:00 2001 From: retoor Date: Tue, 10 Dec 2024 04:17:55 +0100 Subject: [PATCH] Update. --- 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 6428a44..7acf016 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.names.get(self.username,"") in comment.get("body", ""): + if self.names.get(self.username, "") in comment.get("body", ""): return True return False