mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2025-12-29 12:04:51 +00:00
Update Filters.reply to check for Message.reply_to_message_id
This commit is contained in:
parent
bca7e6461e
commit
bf233e3b5b
1 changed files with 1 additions and 1 deletions
|
|
@ -218,7 +218,7 @@ text = create(text_filter)
|
|||
|
||||
# region reply_filter
|
||||
async def reply_filter(_, __, m: Message):
|
||||
return bool(m.reply_to_message)
|
||||
return bool(m.reply_to_message_id)
|
||||
|
||||
|
||||
reply = create(reply_filter)
|
||||
|
|
|
|||
Loading…
Reference in a new issue