From 0037a03879e4a0dae8290d49f6d689ecdb1f68cf Mon Sep 17 00:00:00 2001 From: blankie Date: Fri, 29 Jul 2022 13:47:52 +0700 Subject: [PATCH] Fix bug --- 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 0f6837d..6d6a712 100644 --- a/sukuinote/plugins/einfo.py +++ b/sukuinote/plugins/einfo.py @@ -191,7 +191,7 @@ async def get_sibyl(entity): if json['ban_source_url']: text += f'\n- Ban Source URL: {html.escape(json["ban_source_url"])}' if json['source_group']: - text += f'\n- Source Group: {html.escape(json["ban_source_url"])}' + text += f'\n- Source Group: {html.escape(json["source_group"])}' return text @Client.on_message(~filters.scheduled & ~filters.forwarded & ~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|^Looks like I don\'t have control over that user, or the ID isn\'t a valid one\. If you reply to one of their messages, I\'ll be able to interact with them\.$'))