mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 08:27:38 +00:00
修复 eat 指令运行报错
This commit is contained in:
parent
9e1d26ca9c
commit
002b50a424
2
eat.py
2
eat.py
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user