Don't set default commands.

This commit is contained in:
Alex Root Junior 2018-02-08 21:34:36 +02:00
parent 7c92907840
commit e3b79ea81e

View file

@ -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: