🐛 修复 post 插件部分函数 handler 未注册的问题

This commit is contained in:
洛水居室 2022-09-09 18:12:54 +08:00
parent 6fabd248e6
commit ec8d70a434
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC

View File

@ -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")