mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 15:36:44 +00:00
🐛 修复 post
插件部分函数 handler
未注册的问题
This commit is contained in:
parent
6fabd248e6
commit
ec8d70a434
@ -235,6 +235,7 @@ class Post(Plugin.Conversation, BasePlugin):
|
|||||||
return CHECK_COMMAND
|
return CHECK_COMMAND
|
||||||
|
|
||||||
@conversation.state(state=SEND_POST)
|
@conversation.state(state=SEND_POST)
|
||||||
|
@handler.message(filters=filters.TEXT & ~filters.COMMAND, block=True)
|
||||||
@error_callable
|
@error_callable
|
||||||
async def send_post(self, update: Update, context: CallbackContext) -> int:
|
async def send_post(self, update: Update, context: CallbackContext) -> int:
|
||||||
post_handler_data: PostHandlerData = context.chat_data.get("post_handler_data")
|
post_handler_data: PostHandlerData = context.chat_data.get("post_handler_data")
|
||||||
|
Loading…
Reference in New Issue
Block a user