diff --git a/list.json b/list.json index 8639ad9..8211e54 100644 --- a/list.json +++ b/list.json @@ -682,7 +682,7 @@ }, { "name": "yvlu", - "version": "1.214", + "version": "1.22", "section": "chat", "maintainer": "xtaodada", "size": "10.4 kb", diff --git a/yvlu.py b/yvlu.py index ff3eea8..bcd4685 100644 --- a/yvlu.py +++ b/yvlu.py @@ -123,14 +123,14 @@ async def yv_lu(context): reply = context else: return await context.edit('你需要回复一条消息或者输入一串字符。') - async with bot.conversation('QuotLyBot') as conversation: + async with bot.conversation('PagerMaid_QuotLy_bot') as conversation: try: send_for = await reply.forward_to(conversation.chat_id) except YouBlockedUserError: if await context.client(UnblockRequest(id=conversation.chat_id)): send_for = await reply.forward_to(conversation.chat_id) else: - return await context.edit("请先解封 @QuotLyBot ") + return await context.edit("请先解封 @PagerMaid_QuotLy_bot ") except ForbiddenError: return await context.edit("无权限转发消息。") except FloodWaitError: