mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-25 13:44:07 +00:00
eat fix a bug
This commit is contained in:
parent
81ee5e9743
commit
c46fc314f3
@ -263,7 +263,7 @@ async def eat(client_: Client, context: Message):
|
||||
user.photo.big_file_id,
|
||||
f"plugins{sep}eat{sep}" + str(target_user_id) + ".jpg",)
|
||||
|
||||
reply_to = context.reply_to_message.message_id if context.reply_to_message else None
|
||||
reply_to = context.reply_to_message.id if context.reply_to_message else None
|
||||
if exists(f"plugins{sep}eat{sep}" + str(target_user_id) + ".jpg"):
|
||||
for num in range(1, max_number + 1):
|
||||
if not exists(f"plugins{sep}eat{sep}eat" + str(num) + ".png"):
|
||||
|
Loading…
Reference in New Issue
Block a user