From ec8d70a434781c735bbc1b8ffe8ea1293accb4ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B4=9B=E6=B0=B4=E5=B1=85=E5=AE=A4?= Date: Fri, 9 Sep 2022 18:12:54 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20=E4=BF=AE=E5=A4=8D=20`post`=20?= =?UTF-8?q?=E6=8F=92=E4=BB=B6=E9=83=A8=E5=88=86=E5=87=BD=E6=95=B0=20`handl?= =?UTF-8?q?er`=20=E6=9C=AA=E6=B3=A8=E5=86=8C=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins/other/post.py | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/other/post.py b/plugins/other/post.py index 92c47b42..1987e2ae 100644 --- a/plugins/other/post.py +++ b/plugins/other/post.py @@ -235,6 +235,7 @@ class Post(Plugin.Conversation, BasePlugin): return CHECK_COMMAND @conversation.state(state=SEND_POST) + @handler.message(filters=filters.TEXT & ~filters.COMMAND, block=True) @error_callable async def send_post(self, update: Update, context: CallbackContext) -> int: post_handler_data: PostHandlerData = context.chat_data.get("post_handler_data")