mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 16:02:14 +00:00
eat fix a bug
This commit is contained in:
parent
8b4b0a713b
commit
9ce93a14d0
2
eat.py
2
eat.py
@ -430,8 +430,6 @@ async def eat(client_: Client, context: Message):
|
|||||||
safe_remove(f"plugins{sep}eat{sep}" + str(target_user_id) + ".png")
|
safe_remove(f"plugins{sep}eat{sep}" + str(target_user_id) + ".png")
|
||||||
safe_remove(f"plugins{sep}eat{sep}" + str(from_user_id) + ".jpg")
|
safe_remove(f"plugins{sep}eat{sep}" + str(from_user_id) + ".jpg")
|
||||||
safe_remove(f"plugins{sep}eat{sep}" + str(from_user_id) + ".png")
|
safe_remove(f"plugins{sep}eat{sep}" + str(from_user_id) + ".png")
|
||||||
safe_remove(f"plugins{sep}eat{sep}eat.webp")
|
|
||||||
safe_remove(photo)
|
|
||||||
else:
|
else:
|
||||||
return await context.edit("此用户未设置头像或头像对您不可见。")
|
return await context.edit("此用户未设置头像或头像对您不可见。")
|
||||||
if reply_to:
|
if reply_to:
|
||||||
|
Loading…
Reference in New Issue
Block a user