Fix broken hyperlinks

This commit is contained in:
Dan 2021-03-20 10:40:38 +01:00
parent b39a6cd2d4
commit 66b1229664

View File

@ -141,7 +141,7 @@ def create(func: Callable, name: str = None, **kwargs) -> Filter:
**kwargs (``any``, *optional*):
Any keyword argument you would like to pass. Useful when creating parameterized custom filters, such as
:meth:`~Filters.command` or :meth:`~Filters.regex`.
:meth:`~pyrogram.filters.command` or :meth:`~pyrogram.filters.regex`.
"""
return type(
name or func.__name__ or CUSTOM_FILTER_NAME,