mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-22 15:36:44 +00:00
🐛 修复 post
插件部分函数未注册的问题
This commit is contained in:
parent
e5553a8a04
commit
b173c3e90d
@ -234,9 +234,9 @@ class Post(Plugin.Conversation, BasePlugin):
|
||||
await message.reply_text("请选择你的操作", reply_markup=self.MENU_KEYBOARD)
|
||||
return CHECK_COMMAND
|
||||
|
||||
@staticmethod
|
||||
@conversation.state(state=SEND_POST)
|
||||
@error_callable
|
||||
async def send_post(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")
|
||||
message = update.effective_message
|
||||
if message.text == "退出":
|
||||
|
Loading…
Reference in New Issue
Block a user