mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 12:51:35 +00:00
🎨 Modify the text of the reply
This commit is contained in:
parent
3f20430b70
commit
221dffef1b
@ -108,8 +108,11 @@ class PayLogPlugin(Plugin.Conversation):
|
|||||||
message = update.effective_message
|
message = update.effective_message
|
||||||
user = update.effective_user
|
user = update.effective_user
|
||||||
if message.document:
|
if message.document:
|
||||||
await self.import_from_file(user, message)
|
await message.reply_text("呜呜呜~本次导入不支持文件导入,请尝试获取连接")
|
||||||
return ConversationHandler.END
|
return INPUT_URL
|
||||||
|
if not message.text:
|
||||||
|
await message.reply_text("呜呜呜~输入错误,请尝试重新获取连接")
|
||||||
|
return INPUT_URL
|
||||||
authkey = from_url_get_authkey(message.text)
|
authkey = from_url_get_authkey(message.text)
|
||||||
reply = await message.reply_text("小派蒙正在从服务器获取数据,请稍后")
|
reply = await message.reply_text("小派蒙正在从服务器获取数据,请稍后")
|
||||||
await message.reply_chat_action(ChatAction.TYPING)
|
await message.reply_chat_action(ChatAction.TYPING)
|
||||||
@ -228,7 +231,6 @@ class PayLogPlugin(Plugin.Conversation):
|
|||||||
"未查询到您所绑定的账号信息,请先私聊派蒙绑定账号", reply_markup=InlineKeyboardMarkup(buttons)
|
"未查询到您所绑定的账号信息,请先私聊派蒙绑定账号", reply_markup=InlineKeyboardMarkup(buttons)
|
||||||
)
|
)
|
||||||
self.add_delete_message_job(reply_message, delay=30)
|
self.add_delete_message_job(reply_message, delay=30)
|
||||||
|
|
||||||
self.add_delete_message_job(message, delay=30)
|
self.add_delete_message_job(message, delay=30)
|
||||||
else:
|
else:
|
||||||
await message.reply_text("未查询到您所绑定的账号信息,请先绑定账号", reply_markup=InlineKeyboardMarkup(buttons))
|
await message.reply_text("未查询到您所绑定的账号信息,请先绑定账号", reply_markup=InlineKeyboardMarkup(buttons))
|
||||||
|
Loading…
Reference in New Issue
Block a user