修改部分文本描述错误

This commit is contained in:
洛水居室 2022-06-24 22:31:41 +08:00
parent 199db3da2e
commit c91934cad7
No known key found for this signature in database
GPG Key ID: C9DE87DA724B88FC
2 changed files with 3 additions and 3 deletions

View File

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

View File

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