This commit is contained in:
vpcreatz 2025-03-28 20:10:44 +01:00 committed by GitHub
commit 71ec8923ef
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -160,6 +160,12 @@ def create(func: Callable, name: str = None, **kwargs) -> Filter:
{"__call__": func, **kwargs}
)()
async def edited_filter(_, __, m: Message):
return bool(m.edit_date)
edited = create(edited_filter)
"""Filter edited messages."""
# region all_filter
async def all_filter(_, __, ___):