From 5e63e720899c72a490bcd230227d087e27ed0d45 Mon Sep 17 00:00:00 2001 From: blank X Date: Tue, 1 Dec 2020 14:24:47 +0700 Subject: [PATCH] Handle "Anyway, they aren't fbanned in fed" --- sukuinote/plugins/einfo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sukuinote/plugins/einfo.py b/sukuinote/plugins/einfo.py index 1c7ee52..acf300d 100644 --- a/sukuinote/plugins/einfo.py +++ b/sukuinote/plugins/einfo.py @@ -125,7 +125,7 @@ async def get_deai(client, entity): ntext.pop(0) if ntext: ntext.pop(0) - if ntext: + if ntext and not ntext[0].startswith('Anyway, they aren\'t fbanned in fed '): text = '- Reason: ' ntext.pop(0) reason = '\n'.join(ntext).strip()