mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-16 12:51:35 +00:00
修改部分文本描述错误
This commit is contained in:
parent
199db3da2e
commit
c91934cad7
@ -202,7 +202,7 @@ class Ledger(BasePlugins):
|
||||
try:
|
||||
png_data = await self._start_get_ledger(user_info, user_info.service, month)
|
||||
except DataNotPublic:
|
||||
reply_message = await update.message.reply_text("查询失败惹,可能是手扎功能被禁用了?")
|
||||
reply_message = await update.message.reply_text("查询失败惹,可能是旅行札记功能被禁用了?")
|
||||
if filters.ChatType.GROUPS.filter(message):
|
||||
self._add_delete_message_job(context, reply_message.chat_id, reply_message.message_id, 300)
|
||||
self._add_delete_message_job(context, message.chat_id, message.message_id, 300)
|
||||
|
@ -184,7 +184,7 @@ class Uid(BasePlugins):
|
||||
png_data = await self._start_get_user_info(user_info, user_info.service, uid)
|
||||
except ValueError as exc:
|
||||
if "洞庭湖未解锁" in str(exc):
|
||||
await message.reply_text("角色洞庭湖未解锁 如果想要查看具体数据 嗯...... 咕咕咕~")
|
||||
await message.reply_text("角色尘歌壶未解锁 如果想要查看具体数据 嗯...... 咕咕咕~")
|
||||
return ConversationHandler.END
|
||||
else:
|
||||
raise exc
|
||||
@ -214,7 +214,7 @@ class Uid(BasePlugins):
|
||||
png_data = await self._start_get_user_info(get_user_command_data.user_info, service)
|
||||
except ValueError as exc:
|
||||
if "洞庭湖未解锁" in str(exc):
|
||||
await message.reply_text("角色洞庭湖未解锁 如果想要查看具体数据 嗯...... 咕咕咕~")
|
||||
await message.reply_text("角色尘歌壶未解锁 如果想要查看具体数据 嗯...... 咕咕咕~")
|
||||
return ConversationHandler.END
|
||||
else:
|
||||
raise exc
|
||||
|
Loading…
Reference in New Issue
Block a user