Compare commits
2
Commits
1abc5d38d1
...
532a102719
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
532a102719 | ||
|
|
ed0e2887d5 |
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user