From e299639ae6bcda4ab79184085092c7989421e286 Mon Sep 17 00:00:00 2001 From: blank X Date: Tue, 19 Jan 2021 13:57:12 +0700 Subject: [PATCH] Sophie strings changed again --- 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 1c74c42..eaea4dc 100644 --- a/sukuinote/plugins/einfo.py +++ b/sukuinote/plugins/einfo.py @@ -198,7 +198,7 @@ async def get_spam_protection(entity): return text return f'- {json["response_code"]}: {json["error"]["error_code"]}: {json["error"]["type"]}: {html.escape(json["error"]["message"])}' -@Client.on_message(~filters.sticker & ~filters.via_bot & ~filters.edited & filters.chat(['rsophiebot', 'missrose_bot']) & filters.incoming & filters.regex('^Federation ban info:\n|You ain\'t fbanned in this fed\.|^Failed to get user: unable to getChatMember: Bad Request: chat not found$|^.+ is not banned in this fed\.$|^.+ is currently banned in Rose Support Official, for the following reason:\n\n')) +@Client.on_message(~filters.sticker & ~filters.via_bot & ~filters.edited & filters.chat(['rsophiebot', 'missrose_bot']) & filters.incoming & filters.regex('^Federation ban info:\n|You aren\'t fbanned in this fed\.|^Failed to get user: unable to getChatMember: Bad Request: chat not found$|^.+ is not banned in this fed\.$|^.+ is currently banned in Rose Support Official, for the following reason:\n\n')) async def fedstat_conversation_hack(client, message): reply = message.reply_to_message if not getattr(reply, 'empty', True):