修复 eat 指令运行报错

This commit is contained in:
c3b2a 2021-02-28 12:56:47 +08:00
parent 9e1d26ca9c
commit 002b50a424
No known key found for this signature in database
GPG Key ID: 99AF7FB0C31367BB
2 changed files with 2 additions and 2 deletions

2
eat.py
View File

@ -48,7 +48,7 @@ async def eat(context):
await context.edit("正在生成 吃头像 图片中 . . .")
if context.reply_to_msg_id:
reply_message = await context.get_reply_message()
user_id = reply_message.from_id
user_id = reply_message.sender_id
target_user = await context.client(GetFullUserRequest(user_id))
if len(context.parameter) == 1:
diu_round = True

View File

@ -202,7 +202,7 @@
},
{
"name": "eat",
"version": "1.0",
"version": "1.01",
"section": "profile",
"maintainer": "SF_PICK",
"size": "6.4 kb",