mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-15 20:02:22 +00:00
Don't set default commands.
This commit is contained in:
parent
7c92907840
commit
e3b79ea81e
1 changed files with 0 additions and 6 deletions
|
|
@ -444,8 +444,6 @@ class Dispatcher:
|
||||||
:param kwargs:
|
:param kwargs:
|
||||||
:return: decorated function
|
:return: decorated function
|
||||||
"""
|
"""
|
||||||
if commands is None:
|
|
||||||
commands = []
|
|
||||||
if content_types is None:
|
if content_types is None:
|
||||||
content_types = ContentType.TEXT
|
content_types = ContentType.TEXT
|
||||||
if custom_filters is None:
|
if custom_filters is None:
|
||||||
|
|
@ -509,8 +507,6 @@ class Dispatcher:
|
||||||
:param kwargs:
|
:param kwargs:
|
||||||
:return: decorated function
|
:return: decorated function
|
||||||
"""
|
"""
|
||||||
if commands is None:
|
|
||||||
commands = []
|
|
||||||
if content_types is None:
|
if content_types is None:
|
||||||
content_types = ContentType.TEXT
|
content_types = ContentType.TEXT
|
||||||
if custom_filters is None:
|
if custom_filters is None:
|
||||||
|
|
@ -566,8 +562,6 @@ class Dispatcher:
|
||||||
:param kwargs:
|
:param kwargs:
|
||||||
:return: decorated function
|
:return: decorated function
|
||||||
"""
|
"""
|
||||||
if commands is None:
|
|
||||||
commands = []
|
|
||||||
if content_types is None:
|
if content_types is None:
|
||||||
content_types = ContentType.TEXT
|
content_types = ContentType.TEXT
|
||||||
if custom_filters is None:
|
if custom_filters is None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue