mirror of
https://github.com/aiogram/aiogram.git
synced 2025-12-11 01:54:53 +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:
|
||||
:return: decorated function
|
||||
"""
|
||||
if commands is None:
|
||||
commands = []
|
||||
if content_types is None:
|
||||
content_types = ContentType.TEXT
|
||||
if custom_filters is None:
|
||||
|
|
@ -509,8 +507,6 @@ class Dispatcher:
|
|||
:param kwargs:
|
||||
:return: decorated function
|
||||
"""
|
||||
if commands is None:
|
||||
commands = []
|
||||
if content_types is None:
|
||||
content_types = ContentType.TEXT
|
||||
if custom_filters is None:
|
||||
|
|
@ -566,8 +562,6 @@ class Dispatcher:
|
|||
:param kwargs:
|
||||
:return: decorated function
|
||||
"""
|
||||
if commands is None:
|
||||
commands = []
|
||||
if content_types is None:
|
||||
content_types = ContentType.TEXT
|
||||
if custom_filters is None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue