From adf781c48fd5b329306d58d6c8523a6c3d1c7127 Mon Sep 17 00:00:00 2001 From: Holly Date: Wed, 10 Mar 2021 02:52:37 +0000 Subject: [PATCH] ignore boosts (in theory anyway) --- mtgcardlookup.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mtgcardlookup.py b/mtgcardlookup.py index 791f3ca..4513a3c 100755 --- a/mtgcardlookup.py +++ b/mtgcardlookup.py @@ -173,6 +173,9 @@ async def listen(c, me): # One of them has the status nested deeper. Just ignore that one I guess. if 'status' in status: continue + # Don't activate on boosts at all + if 'reblog' in status: continue + status_id = status['id'] status_author = '@' + status['account']['acct'] status_text = status['content']